root « Update « JPA Q&A





1. Optimizing Root Persistent Class pattern    forum.hibernate.org

Hi. I was reading through the Design Patterns section on the site and found the one called Root Persistent Class. This sounds like exactly what I want to do. I want to have an abstract class at the top of my hierarchy with common attributes that all of my persistent classes share. I don't want these attributes in their own table, ...

2. How are the persistence classes in root of unit located?    forum.hibernate.org

In section 6.2.16 of the java persistence spec (Final draft) I read the following: Quote: The set of managed persistence classes that are managed by a persistence unit is defined by using one or more of the following: ... The annotated managed persistence classes contained in the root of the persistence unit (unless the exclude-unlisted-classes element is specified) How does the ...

3. JPA merge() not updating the root object    forums.oracle.com