Kobe, No, this is a persistence store [1] implemented using Hibernate. When the cache is updated, it will use Hibernate session to update the database. In case of write-through consistency is guaranteed automatically by Ignite (if cache update fails, it will not update the database, and other way around). If there is a transaction, you can use CacheStoreSession and CacheHibernateStoreSessionListener to maintain ongoing Hibernate transaction and commit it only when the cache transaction is committed (this is also demonstrated in the example).
L2 cache is also supported [2], but in this case Ignite is plugged into Hibernate and you use Hibernate API to do updates and reads. [1] https://apacheignite.readme.io/docs/persistent-store [2] https://apacheignite.readme.io/docs/hibernate-l2-cache -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Simple-example-of-write-behind-cache-tp3439p3446.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.
