Module org.mybatis.spring
Package org.mybatis.spring.transaction
Class SpringManagedTransactionFactory
java.lang.Object
org.mybatis.spring.transaction.SpringManagedTransactionFactory
- All Implemented Interfaces:
org.apache.ibatis.transaction.TransactionFactory
public class SpringManagedTransactionFactory
extends java.lang.Object
implements org.apache.ibatis.transaction.TransactionFactory
Creates a
SpringManagedTransaction
.- Author:
- Hunter Presnall
-
Constructor Summary
Constructors Constructor Description SpringManagedTransactionFactory()
-
Method Summary
Modifier and Type Method Description org.apache.ibatis.transaction.Transaction
newTransaction(java.sql.Connection conn)
org.apache.ibatis.transaction.Transaction
newTransaction(javax.sql.DataSource dataSource, org.apache.ibatis.session.TransactionIsolationLevel level, boolean autoCommit)
void
setProperties(java.util.Properties props)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SpringManagedTransactionFactory
public SpringManagedTransactionFactory()
-
-
Method Details
-
newTransaction
public org.apache.ibatis.transaction.Transaction newTransaction(javax.sql.DataSource dataSource, org.apache.ibatis.session.TransactionIsolationLevel level, boolean autoCommit)- Specified by:
newTransaction
in interfaceorg.apache.ibatis.transaction.TransactionFactory
-
newTransaction
public org.apache.ibatis.transaction.Transaction newTransaction(java.sql.Connection conn)- Specified by:
newTransaction
in interfaceorg.apache.ibatis.transaction.TransactionFactory
-
setProperties
public void setProperties(java.util.Properties props)- Specified by:
setProperties
in interfaceorg.apache.ibatis.transaction.TransactionFactory
-