public class HibernateTransactionManager extends HibernateObserver implements TransactionManager
构造器和说明 |
---|
HibernateTransactionManager() |
限定符和类型 | 方法和说明 |
---|---|
void |
begin(ConnectionHolder connectionHolder) |
void |
close(ConnectionHolder connectionHolder) |
void |
commit(ConnectionHolder connectionHolder) |
ConnectionHolder |
getConnectionHolder() |
java.lang.Object |
getTransactionResourceKey() |
void |
rollback(ConnectionHolder connectionHolder) |
add, clear, fireCommit, remove
public ConnectionHolder getConnectionHolder()
getConnectionHolder
在接口中 TransactionManager
public java.lang.Object getTransactionResourceKey()
getTransactionResourceKey
在接口中 TransactionManager
public void begin(ConnectionHolder connectionHolder)
begin
在接口中 ConnectionHandler
public void commit(ConnectionHolder connectionHolder)
commit
在接口中 ConnectionHandler
public void rollback(ConnectionHolder connectionHolder)
rollback
在接口中 ConnectionHandler
public void close(ConnectionHolder connectionHolder)
close
在接口中 ConnectionHandler