Red Hat Training

A Red Hat training course is available for Red Hat JBoss Data Virtualization

Chapter 6. JDBC Transactions

6.1. JDBC Transaction Types

The JBoss Data Virtualization JDBC API supports three types of transactions from a client perspective:
  • global transactions,
  • local transactions, and
  • request level transactions.
All are implemented by JBoss Data Virtualization as XA transactions. Refer to the JTA specification at http://www.oracle.com/technetwork/java/javaee/tech/jta-138684.html for more information on XA Transactions.

Warning

The use of global, local, and request level transactions are all mutually exclusive. Request level transactions only apply when not in a global or local transaction. Any attempt to mix global and local transactions concurrently will result in an exception.