| ReadOnly object with NativeQuery [message #653923] |
Fri, 11 February 2011 16:30  |
Fericit Bostan Messages: 68 Registered: June 2010 |
Member |
|
|
I'm using EclipseLink 2.1 and have a use case for returning an object that would be a ReadOnly view of the data. The NativeQuery would consist of joining approximately 6 tables or more and would only return select fields from those tables to populate the object. I would prefer to use the Criteria API as the object can be queried by PrimaryKey or sets can be returned based upon other matching criteria.
Is there a good example of this type of mapping or can you point me to the documentation that might outline this?
Thanks....
|
|
|
|
Powered by
FUDForum. Page generated in 0.01574 seconds