|JTA Global Transactions with GemFire|
When GemFire participates in a global transactions, you can still have GemFire cache writers and cache loaders operating in the usual way.
For example, in addition to the transactional connection to the database, the region could also have a cache writer and cache loader configured to exchange data with that same database. As long as the data source is transactional, which means that it can detect the transaction manager, the cache writer and cache loader participate in the transaction. If the JTA rolls back its transaction, the changes made by the cache loader and the cache writer are rolled back.
If you are using a GemFire cache or transaction listener with global transactions, be aware that the EntryEvent returned by a transaction has the GemFire transaction ID, not the JTA transaction ID.