| turn off all caching [message #947851] |
Wed, 17 October 2012 10:00  |
Amit B Messages: 12 Registered: July 2012 |
Junior Member |
|
|
Hello,
I am aware of how to turn off the shared cache. Is their any other caching Eclipselink does and ss their a way to turn of all caching in Eclipselink and do all reads/updates/deletes straight to the database.
Thanks
Amit
|
|
|
| Re: turn off all caching [message #964536 is a reply to message #947851] |
Tue, 30 October 2012 11:55  |
James Sutherland Messages: 1834 Registered: July 2009 |
Senior Member |
|
|
Turning off the shared cache will do this.
Note, that in JPA, writes to the database do not occur until you call flush() or commit().
JPA must also keep a transaction object cache, which is required for correct transactional processing and cannot be disabled, although you can call clear() to clear it.
James : Wiki : Book : Blog
|
|
|
Powered by
FUDForum. Page generated in 0.07469 seconds