object-oriented-approach-to-data-persistence-with-jpa