File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
How to upgrade to newer version of EHCache.jar ?
Caching objects
ResultSet vs. ScrollableResults
JPA Caching for Performance
JMS topic listener without using MDBs