Write a new function behind the Ehcache cache?

I am looking for a guide / document / tutorial on how to use this new write-behind-cache function in ehcache? Is there a demo in spring + jpa + ehcache + hibernate?

just for clariyfing, write-behind-cache means every time we save an object, it will be written to the cache, and not to the database correctly?

+5
source share
3 answers

The fact that Ehcache offers Write-Behind Caching does NOT mean that any piece of software using Ehcache, such as Hibernate, can use it without modification. From Terracotta Hibernate Integration (note that this is an independent message, such as caching):

Record caching

, : , , . Hibernate Second - - Cache, , , . H2LC . . Hibernate . async-database-queue, .

, , Hibernate ( , , ).

+5

http://www.infoq.com/news/2010/05/ehcache-2.0

Ehcache 2.0 . , (, ). . Write- API, .. , API Ehcache, .

+3
0

All Articles