Improve JPA config.
Initial version of Example3.
Final version of example 3.
Merge branch 'example3'