[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.rt.eclipselink] Re: ManyToOne only have the IDs in a collection not the whole object

You can use a @BasicCollection in EclipseLink (1.1) or an @ElementCollection in JPA 2.0 (EclipseLink 2.0) to define this type of relationship. You would probably also want to make the relationship read-only.

---
James