1 16 package com.ibatis.sqlmap.client; 17 18 import javax.sql.DataSource ; 19 import java.sql.Connection ; 20 import java.sql.SQLException ; 21 22 27 public interface SqlMapTransactionManager { 28 29 48 public void startTransaction() throws SQLException ; 49 50 51 70 public void startTransaction(int transactionIsolation) throws SQLException ; 71 72 78 public void commitTransaction() throws SQLException ; 79 80 88 public void endTransaction() throws SQLException ; 89 90 121 public void setUserConnection(Connection connnection) throws SQLException ; 122 123 132 public Connection getUserConnection() throws SQLException ; 133 134 142 public Connection getCurrentConnection() throws SQLException ; 143 144 149 public DataSource getDataSource(); 150 151 152 } 153 | Popular Tags |