com.ibatis.sqlmap.engine.transaction.jdbc
Class JdbcTransactionConfig

java.lang.Object
  extended bycom.ibatis.sqlmap.engine.transaction.BaseTransactionConfig
      extended bycom.ibatis.sqlmap.engine.transaction.jdbc.JdbcTransactionConfig
All Implemented Interfaces:
TransactionConfig

public class JdbcTransactionConfig
extends BaseTransactionConfig


Constructor Summary
JdbcTransactionConfig()
           
 
Method Summary
 javax.sql.DataSource getDataSource()
           
 void initialize(java.util.Properties props)
           
 Transaction newTransaction(int transactionIsolation)
           
 void setDataSource(javax.sql.DataSource ds)
           
 
Methods inherited from class com.ibatis.sqlmap.engine.transaction.BaseTransactionConfig
getMaximumConcurrentTransactions, setMaximumConcurrentTransactions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdbcTransactionConfig

public JdbcTransactionConfig()
Method Detail

getDataSource

public javax.sql.DataSource getDataSource()

setDataSource

public void setDataSource(javax.sql.DataSource ds)

initialize

public void initialize(java.util.Properties props)
                throws java.sql.SQLException,
                       TransactionException
Throws:
java.sql.SQLException
TransactionException

newTransaction

public Transaction newTransaction(int transactionIsolation)
                           throws java.sql.SQLException,
                                  TransactionException
Throws:
java.sql.SQLException
TransactionException