The JDBC driver supports the Java Transaction API (JTA), which is a mapping of the Open Group XA Specification and works with J2EE Compliant Transaction Managers. The JDBC driver implements the XADataSource, XAConnection, and XAResource interfaces defined by the JDBC 4.0 Specification.
A Java application uses these interfaces to create, enlist in, and commit or rollback a distributed (or global) transaction. Alternatively, a Java application can be deployed in a J2EE application server using declarative syntax that defines transaction attributes used by application server to manage the distributed transaction. In either case, the JTA compliant Transaction Manager invokes methods provided by the JDBC driver. Application servers provide tools to define Data Source objects for use with distributed transactions.
The JDBC 4.0 Specification and detailed API documentation are available at http://java.sun.com.
Messages returned by CA IDMS, such as those that are returned in the SQLCA, are returned in the exception that is thrown when an error occurs.
|
Copyright © 2009 CA.
All rights reserved.
|
|