openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremy Bauer" <>
Subject Re: Query to return shared data for performance reasons.
Date Thu, 03 Jul 2008 18:28:13 GMT
Hi Gustav,

This may not be exactly what you have in mind, but OpenJPA has a data
cache for caching entities and a query result cache for caching
certain types of query results.  Properly tuned, these caches can
dramatically improve the performance of cache-suitable applications.

Here is a link to the caching documentation.


On Thu, Jul 3, 2008 at 10:31 AM, Gustav Trede
<> wrote:
> 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

View raw message