Laird -
Look for the section that talks about the persistence.xml file. For maximum
portability you should enumerate all of your managed types(Embeddables and
Entities).

-Rick


ljnelson wrote:
> 
> Hello.  I've found that OpenJPA needs me to list my @Embeddable classes in
> persistence.xml as well as my @Entity classes.  This is not needed by
> Hibernate or EclipseLink.  I couldn't find a relevant section of the
> specification that addresses this.  Is this a bug or just a minor
> annoyance?  I'm trying to code for maximum portability between at least
> these three persistence providers and so want to know where the edge cases
> are.
> 
> I'm using OpenJPA-1.3.0-SNAPSHOT from the Apache snapshots Maven
> repository.
> 
> Thanks,
> Laird
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Need-to-list-embeddable-classes-in-persistence.xml--tp3063674p3087283.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to