« Return to Thread: descriptor.disableCacheHits() does not disable cache hits

descriptor.disableCacheHits() does not disable cache hits

by elygre :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.

While working with caching, I have customized a class descriptor, calling “descriptor.disableCacheHits();”. I figured that this would make multiple calls to “em.find(key)” generate multiple SQL-statements to the database.

 

This does not happen, and then I wonder why. There is really not much else going on, in terms of configuration and setup. Anything I need to switch on?

 

Eirik

 


_______________________________________________
eclipselink-users mailing list
eclipselink-users@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-users

 « Return to Thread: descriptor.disableCacheHits() does not disable cache hits