[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.rt.eclipselink] Re: Calculations of field values using other tables

You could change this to a query instead of a persistence attribute.

If you need to map it, you could use a TransformationMapping in EclipseLink, or use a postBuild event to query the data. You could also just lazy initialize the field using a query.

Another solution would be define a database view that include the computed values and map your object to the view.

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