[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.rt.eclipselink] Re: @ManyToOne relation problem

JPA only allows relationships to be define using foreign keys (JoinColumn). However in EclipseLink you can define complex relationships such as this using the Expression criteria API and a DescriptorCustomizer.

See,
http://wiki.eclipse.org/EclipseLink/Examples/JPA/MappingSelectionCriteria

---
James
http://www.nabble.com/EclipseLink---Users-f26658.html