I've significantly improved the GridDialect in my quest to use Atomic Maps for entity
and associations. Unfortunately the change is not ready to be shared yet. I hope to get
that out next week Entity are using atomic maps but not associations yet.
Also, I've see you've used merge to sync your work and the main tree. We have a
linear tree policy, so use rebase instead of merge.
On 11 mai 2011, at 15:12, Alex Snaps wrote:
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/d0fcbffed4c4bcc2aa5208c...
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.snaps(a)gmail.com>
Senior Software Engineer - Terracotta
http://twitter.com/alexsnaps
http://www.linkedin.com/in/alexsnaps
_______________________________________________
hibernate-dev mailing list
hibernate-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev