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

Hello!

I wonder if its possible to fetch only the IDs of the associated collection objects instead of the full blown entity. Lets say I have a User object hat can have 0..n orders assigned to him. But I only want to have the order IDs in the collection in the User entity.
Collection<String> orders;
instead of
Collection<UserOrder> orders;


Any ideas?

Thanks
Phil