Terracotta 10.3 | 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, which is an open source project hosted on GitHub, is the only tested transaction manager. Other transaction managers 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-2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.