Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Mapping a Database View



tch wrote:
> 
> Yeah that's the rub working with views, you'll either have to change
> your view to have a unique id or make a multi-column @Id that's
> reasonably unique across the view.
> 

So, are you saying that I just "fake" a uniqueId by simply labelling it as
such in my entity.java although there is no primary key defined in the
database?

Regards

-- 
View this message in context: http://www.nabble.com/Mapping-a-Database-View-tp25401383p25402082.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.



Back to the top