
Transaction Coding Examples
This section provides several code examples for writing and executing transactions.
-
This example operates on two replicated regions. It begins a transaction, updates one entry in each region, and commits the result.
Basic Suspend and Resume Transaction Example
This example suspends and resumes a transaction.
Transaction Embedded within a Function Example
This example demonstrates a function that does transactional updates to Customer and Order regions.
-
An example code fragment shows how to run a JTA global transaction using Geode as the JTA transaction manager.
-
This example shows how to use the JCA Resource Adapter in Geode .