[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.rt.eclipselink] Re: ManyToOne in Embeddable
|
The JPA 1.0 spec does not allow any relationships in Embeddables.
EclipseLink does support this (as well as nested embeddables and
inheritance).
You can either,
- use the eclipselink-orm.xml instead of the JPA orm.xml
- keep using the annotation
- define the mapping using a DescriptorCustomizer
- or move it up from the embeddable to the parent
-- James