public class XaTest extends DatabaseTestCase
| Constructor and Description | 
|---|
| XaTest(java.lang.String name) | 
| Modifier and Type | Method and Description | 
|---|---|
| javax.sql.XADataSource | getDataSource()Obtain an XADataSource. | 
| static void | main(java.lang.String[] args) | 
| void | testLocalTran()Demonstrate interleaving local transactions and distributed
 transactions. | 
| void | testXaCommit()Test to demonstrate the XA_COMMIT function. | 
| void | testXAJoinTran()Test to demonstrate the use of the XA_JOIN command. | 
| void | testXaOnePhaseCommit()Test to demonstrate the single phase XA_COMMIT function. | 
| void | testXARecover()Test to demonstrate the use of the XA_RECOVER command. | 
| void | testXaRollback()Test to demonstrate the use of the XA_ROLLBACK command. | 
compareBytes, getLongString, getLongString, getType, getTypemapcompareInputStreams, compareReaders, connect, dropDatabase, dropFunction, dropProcedure, dropTable, dropTrigger, dropType, dropView, dump, dump, dumpAll, dumpKeys, dumpRow, dumpRow, getConnection, getConnection, makeObjects, makeTestTables, setUp, tearDownpublic javax.sql.XADataSource getDataSource()
                                     throws java.sql.SQLException
XADataSource.java.sql.SQLException - if an error condition occurspublic void testXaCommit()
                  throws java.lang.Exception
java.lang.Exception - if an error condition occurspublic void testXaOnePhaseCommit()
                          throws java.lang.Exception
java.lang.Exception - if an error condition occurspublic void testXaRollback()
                    throws java.lang.Exception
java.lang.Exception - if an error condition occurspublic void testLocalTran()
                   throws java.lang.Exception
java.lang.Exception - if an error condition occurspublic void testXAJoinTran()
                    throws java.lang.Exception
java.lang.Exception - if an error condition occurspublic void testXARecover()
                   throws java.lang.Exception
java.lang.Exception - if an error condition occurspublic static void main(java.lang.String[] args)
Generated on June 8 2013