This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes EhCache and the fly likes Ehcache ... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Caching » EhCache
Bookmark "Ehcache ..." Watch "Ehcache ..." New topic
Author

Ehcache ...

Vassili Vladimir
Ranch Hand

Joined: Mar 08, 2007
Posts: 1585
Hi,

I'm tonally new to ehcache.

I want to ask about something: When i update entries in the cache, do they get reflected to the database, if yes please can you tell how ?

Thanks,


Vassili ...
SCJP 5.0, SCWCD 1.4, SCJA 1.0
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Regardless of the second level cache implementation you choose, the mechanisms for commiting changes to the database are the same as if you were not using it, i.e. when you commit your transaction your inserts/updates/deletes are made in the database.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Ehcache ...
 
Similar Threads
JPA Caching for Performance
How to upgrade to newer version of EHCache.jar ?
ResultSet vs. ScrollableResults
JMS topic listener without using MDBs
Caching objects