Re: [hibernate-dev] Why hibernate-jcache is not enough (for Infinispan)

2018-04-03 Thread Radim Vansa
On 03/29/2018 02:11 PM, Steve Ebersole wrote: > Thanks for the thoughts Radim. > > But I think that there is a misunderstanding.. > > Today (pre-5.3) Hibernate has a hibernate-infinispan module that > integrates Infinispan into Hibernate ORM as a second-level cache.  In > fact it provides 2 integ

Re: [hibernate-dev] Why hibernate-jcache is not enough (for Infinispan)

2018-03-29 Thread Steve Ebersole
Thanks for the thoughts Radim. But I think that there is a misunderstanding.. Today (pre-5.3) Hibernate has a hibernate-infinispan module that integrates Infinispan into Hibernate ORM as a second-level cache. In fact it provides 2 integrations: `InfinispanRegionFactory` and `JndiInfinispanRegion

[hibernate-dev] Why hibernate-jcache is not enough (for Infinispan)

2018-03-29 Thread Radim Vansa
Hi Steve, on HipChat you've asked why hibernate-jcache + Infinispan's implementation of JCache is not enough. It ultimately boils down to 1. performance 2. correctness where (2) can be fine with some providers but then (1) suffers. Infinispan offers transactional mode, but it's not serializabl