| Infinispan is very flexible and can be configured in many ways, some of which are not suited to be used with Hibernate OGM as we make some assumptions on the provided semantics. For example caches used for sequence generation need to be either :
- NON-transactional
- Transactional with pessimistic locking, not using XA.
Caches used to store entities should probably use no expiry, but I wonder if we should allow this. |