com.ibatis.dao.engine.transaction.jta
Class JtaDaoTransaction

java.lang.Object
  extended bycom.ibatis.dao.engine.transaction.jta.JtaDaoTransaction
All Implemented Interfaces:
ConnectionDaoTransaction, DaoTransaction

public class JtaDaoTransaction
extends java.lang.Object
implements ConnectionDaoTransaction


Constructor Summary
JtaDaoTransaction(javax.transaction.UserTransaction utx, javax.sql.DataSource ds)
           
 
Method Summary
 void close()
           
 void commit()
           
 java.sql.Connection getConnection()
           
 void rollback()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JtaDaoTransaction

public JtaDaoTransaction(javax.transaction.UserTransaction utx,
                         javax.sql.DataSource ds)
Method Detail

commit

public void commit()

rollback

public void rollback()

close

public void close()
           throws java.sql.SQLException
Throws:
java.sql.SQLException

getConnection

public java.sql.Connection getConnection()
Specified by:
getConnection in interface ConnectionDaoTransaction