Kevin, did you look
at 
org.apache.ignite.examples.datagrid.store.hibernate.CacheHibernatePersonStore?
May be it will help you to grab som ideas for your implementation.

On Thu, Sep 17, 2015 at 3:25 AM, kevin <[email protected]> wrote:

> 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.
>



-- 
Alexey Kuznetsov
GridGain Systems
www.gridgain.com

Reply via email to