my dog learned polymorphism*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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 ...