public interface TorqueConnection extends Connection
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE| Modifier and Type | Method and Description | 
|---|---|
| void | close() | 
| boolean | isCommitted()Has Transaction.commit() been called successfully on
 this connection? | 
| boolean | isRolledBack()Has Transaction.rollback() been called successfully on
 this connection? | 
| void | setCommitted(boolean committed)Called by TransactionManagerImpl.commit() to track state | 
| void | setRolledBack(boolean rolledBack)Called by TransactionManagerImpl.rollback() to track state | 
abort, clearWarnings, commit, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStatement, createStatement, createStatement, createStruct, getAutoCommit, getCatalog, getClientInfo, getClientInfo, getHoldability, getMetaData, getNetworkTimeout, getSchema, getTransactionIsolation, getTypeMap, getWarnings, isClosed, isReadOnly, isValid, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setClientInfo, setClientInfo, setHoldability, setNetworkTimeout, setReadOnly, setSavepoint, setSavepoint, setSchema, setTransactionIsolation, setTypeMapisWrapperFor, unwrapvoid close()
    throws TorqueException
close in interface AutoCloseableclose in interface ConnectionTorqueExceptionvoid setCommitted(boolean committed)
committed - the committed state to setboolean isCommitted()
void setRolledBack(boolean rolledBack)
rolledBack - the rolledBack state to setboolean isRolledBack()
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.