Hey,
I've taken some time and, in an attempt to port Hibernate OGM to use Ehcache 
instead of Infinispan, abstracted it from Infinispan.
As the doc on that task states, I've made all calls use ConcurrentMap (rather 
than Map actually). I had a little trouble understanding the "Skip locking 
proposed by Sanne" in OgmTableGenerator.doWorkInCurrentTransactionIfAny, so 
that this does a simple Map.get now (that might have been a specialization for 
a Dialect, but couldn't understand what it was all about). 
And finally introduced a new hibernate.grid.manager prop to instantiate the 
proper provider... 

The changes are available here: 
https://github.com/alexsnaps/hibernate-ogm/commit/d0fcbffed4c4bcc2aa5208c049ca5e870e07424e

Hope that can be made useful… I also wanted to start looking into queries next. 
But I'll send another mail on that later.
Thanks,
Alex


-- 
Alex Snaps <alex.sn...@gmail.com>
Senior Software Engineer - Terracotta
http://twitter.com/alexsnaps
http://www.linkedin.com/in/alexsnaps

_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev

Reply via email to