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 14:00 Go to next message
Amit B is currently offline Amit BFriend
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 15:55 Go to previous message
James Sutherland is currently offline James SutherlandFriend
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: Sun Dec 21 00:29:53 GMT 2014

Powered by FUDForum. Page generated in 0.01608 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software