This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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
 
 
subject: Ehcache ...
 
Similar Threads
ResultSet vs. ScrollableResults
Caching objects
How to upgrade to newer version of EHCache.jar ?
JPA Caching for Performance
JMS topic listener without using MDBs