Ehcache API Developer Guide : Transactions Support : What is supported and what are the limitations?
What is supported and what are the limitations?
Ehcache supports caches that work within the context of an XA transaction controlled by a Java Transaction API (JTA) transaction manager. Within this context, Ehcache supports the two-phase commit protocol, including crash recovery.
*Bitronix Transaction Manager 2.1.4 is the only supported JTA implementation. Other JTA implementations may work but have not yet been tested.
*Read-Committed is the only supported isolation level.
*The isolation level is guaranteed by the use of the Copier mechanism. When no copiers are configured for either the key or the value, default ones are automatically used instead. You cannot disable the Copier mechanism for a transactional cache.
*Accessing a cache outside of a JTA transaction context is forbidden.
*There is no protection against the ABA problem.
*Everything else works orthogonally.
Copyright © 2010-2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback