Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » turn off all caching
turn off all caching [message #947851] Wed, 17 October 2012 10:00 Go to next message
Amit B is currently offline 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 Go to previous message
James Sutherland is currently offline James Sutherland
Messages: 1939
Registered: July 2009
Location: Ottawa, Canada
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 : Twitter
Previous Topic:Cannot generate SQL tables when @NoSQL entities are present
Next Topic:Conditional Sequence Generator Selection
Goto Forum:
  


Current Time: Wed Aug 20 18:37:51 EDT 2014

Powered by FUDForum. Page generated in 0.09937 seconds