ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kevin <kevin.c...@leonardo.com>
Subject CacheStore implementation using Hibernate
Date Wed, 16 Sep 2015 20:25:06 GMT
I'm trying to implement a CacheStore interface using Hibernate.
Ie. CacheStore.load() and CacheStore.write() is implemented by calling
Hibernate

A problem I am seeing is that there are some hooks in which fields get set
after an object is written to the datagrid cache (such as the "locking"
number for Hibernate's optimistic locking, and an "update_timestamp" that
gets set to the current time in MySQL).
If these fields are changing after the object is written to the cache, how
should the cache be updated to reflect these changes?

Note: this is not to do with Hibernate L2 cache



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/CacheStore-implementation-using-Hibernate-tp1423.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Mime
View raw message