Java Mailing List Archive

http://www.gg3721.com/

Home » users.openjpa »

Query to return shared data for performance reasons.

Gustav Trede

2008-07-03

Replies: Find Java Web Hosting

Author LoginPost Reply
hello,

Im interested in helping openjpa to implement that query can return
shared objects from the cache.

On many usage cases its only of interest to read data, no need to get a
clone/copy then.
(and yes its up to the user to not actually edit the returned data.)

This exists in eclipselink and works good, QueryHints.READ_ONLY.

Could i please get some initial help, where to do this in the code base
in a nice way ?.

regards
gustav
©2008 gg3721.com - Jax Systems, LLC, U.S.A.