|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.jdbc.datasource.DataSourceTransactionObject
DataSource transaction object, representing a ConnectionHolder. Used as transaction object by DataSourceTransactionManager.
Note: This is an SPI class, not intended to be used by applications.
DataSourceTransactionManager
,
ConnectionHolder
Constructor Summary | |
protected |
DataSourceTransactionObject()
Create DataSourceTransactionObject for new ConnectionHolder. |
protected |
DataSourceTransactionObject(ConnectionHolder connectionHolder)
Create DataSourceTransactionObject for existing ConnectionHolder. |
Method Summary | |
ConnectionHolder |
getConnectionHolder()
|
boolean |
getMustRestoreAutoCommit()
|
java.lang.Integer |
getPreviousIsolationLevel()
|
protected void |
setConnectionHolder(ConnectionHolder connectionHolder)
Set new ConnectionHolder. |
void |
setMustRestoreAutoCommit(boolean mustRestoreAutoCommit)
|
protected void |
setPreviousIsolationLevel(java.lang.Integer previousIsolationLevel)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected DataSourceTransactionObject()
protected DataSourceTransactionObject(ConnectionHolder connectionHolder)
Method Detail |
protected void setConnectionHolder(ConnectionHolder connectionHolder)
public ConnectionHolder getConnectionHolder()
protected void setPreviousIsolationLevel(java.lang.Integer previousIsolationLevel)
public java.lang.Integer getPreviousIsolationLevel()
public void setMustRestoreAutoCommit(boolean mustRestoreAutoCommit)
public boolean getMustRestoreAutoCommit()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |