Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] NPE using Embedded ids?


Guy Pelletier wrote:
> 
> A class can not be both a mapped superclass and an embeddable.
> 

ah yes, hibernate allows that while mentioning in the manual: "The same
notion can be applied to @Embeddable objects to persist properties from
their superclasses. You also need to use @MappedSuperclass to do that (this
should not be considered as a standard EJB3 feature though)".

too bad, gonna go back to using hibernate...
-- 
View this message in context: http://www.nabble.com/NPE-using-Embedded-ids--tp21565885p21567316.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.



Back to the top