Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Cache hit

Although the following are not specifically for "find" operations, they may be helpful.

First, try writing a query that makes use of caching hints:

http://wiki.eclipse.org/Using_EclipseLink_JPA_Extensions_%28ELUG%29#Cache_Usage

For configuring on a more broad scale there are some entity-level config options here:

http://wiki.eclipse.org/Using_EclipseLink_JPA_Extensions_%28ELUG%29#How_to_Use_the_.40Cache_Annotation



khaskett wrote:
Is there a way on a find, to know if the value returned was from the cache or
was a DB read?  Or is there a way to always force a read from the database
on a find?



Back to the top