Enterprise grade Java.
You'll read about Conferences, Java User Groups, Java, Integration, Reactive, Microservices and other technologies.

Thursday, July 16, 2009

JPA implementation patterns

06:13 Thursday, July 16, 2009 Posted by Test No comments:
Vincent Partington has written a series of blog posts about the JPA implementation patterns he discovered while writing JPA code.

Basic patterns

* Data Access Objects
* Saving (detached) entities
* Retrieving entities
* Removing entities
* Service Facades and Data Transfers Objects

Advanced patterns

* Bidirectional assocations
* Lazy loading
* Bidirectional associations vs. lazy loading
* Using UUIDs as primary keys
* Field access vs. property access
* Mapping inheritance hierarchies
* Testing


Post a Comment