---
title:  Transactions
---

<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements.  See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License.  You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

<%=vars.product_name%> provides a transactions API, with `begin`, `commit`, and `rollback` methods. These methods are much the same as the familiar relational database transactions methods.

-   **[About Transactions](about_transactions.html)**

    This section covers the features of <%=vars.product_name%> transactions.
It also details the two kinds of transaction that <%=vars.product_name%> supports:
**<%=vars.product_name%> cache transactions** and **JTA global transactions**.

-   **[<%=vars.product_name%> Cache Transactions](cache_transactions.html)**

    Use <%=vars.product_name%> cache transactions to group the execution of cache operations and to gain the control offered by transactional commit and rollback. <%=vars.product_name%> cache transactions control operations within the <%=vars.product_name%> cache while the <%=vars.product_name%> distributed system handles data distribution in the usual way.

-   **[JTA Global Transactions with <%=vars.product_name%>](JTA_transactions.html)**

    Use JTA global transactions to coordinate <%=vars.product_name%> cache transactions and JDBC transactions.

-   **[Monitoring and Troubleshooting Transactions](monitor_troubleshoot_transactions.html)**

    This topic covers errors that may occur when running transactions in <%=vars.product_name%>.

-   **[Transaction Coding Examples](transaction_coding_examples.html)**

    This section provides several code examples for writing and executing transactions.


