This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ehcache ...

 
Vassili Vladimir
Ranch Hand
Posts: 1585
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic