Class JdbcXAConnection.PooledJdbcConnection
java.lang.Object
org.h2.message.TraceObject
org.h2.jdbc.JdbcConnection
org.h2.jdbcx.JdbcXAConnection.PooledJdbcConnection
- All Implemented Interfaces:
AutoCloseable, Connection, Wrapper, CastDataProvider, JdbcConnectionBackwardsCompat
- Enclosing class:
JdbcXAConnection
A pooled connection.
-
Field Summary
FieldsFields inherited from class TraceObject
ARRAY, BLOB, CALLABLE_STATEMENT, CLOB, CONNECTION, DATA_SOURCE, DATABASE_META_DATA, PARAMETER_META_DATA, PREPARED_STATEMENT, RESULT_SET, RESULT_SET_META_DATA, SAVEPOINT, SQLXML, STATEMENT, trace, XA_DATA_SOURCE, XIDFields inherited from interface Connection
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class JdbcConnection
abort, clearWarnings, commit, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStatement, createStatement, createStatement, createStruct, currentTimestamp, currentTimeZone, getAutoCommit, getCatalog, getClientInfo, getClientInfo, getHoldability, getJavaObjectSerializer, getMetaData, getMode, getNetworkTimeout, getSchema, getSession, getStaticSettings, getTransactionIsolation, getTypeMap, getWarnings, isReadOnly, isValid, isWrapperFor, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setClientInfo, setClientInfo, setHoldability, setNetworkTimeout, setReadOnly, setSavepoint, setSavepoint, setSchema, setTransactionIsolation, setTypeMap, toString, unwrap, zeroBasedEnumsMethods inherited from class TraceObject
debugCode, debugCodeAssign, debugCodeCall, debugCodeCall, debugCodeCall, getNextId, getTraceId, getTraceObjectName, isDebugEnabled, isInfoEnabled, logAndConvert, quote, quoteArray, quoteBigDecimal, quoteBytes, quoteDate, quoteIntArray, quoteMap, quoteTime, quoteTimestamp, setTrace, unsupportedMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Connection
beginRequest, endRequest, setShardingKey, setShardingKey, setShardingKeyIfValid, setShardingKeyIfValid
-
Field Details
-
isClosed
private boolean isClosed
-
-
Constructor Details
-
PooledJdbcConnection
-
-
Method Details
-
close
Description copied from class:JdbcConnectionCloses this connection. All open statements, prepared statements and result sets that where created by this connection become invalid after calling this method. If there is an uncommitted transaction, it will be rolled back.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceConnection- Overrides:
closein classJdbcConnection- Throws:
SQLException
-
isClosed
Description copied from class:JdbcConnectionReturns true if this connection has been closed.- Specified by:
isClosedin interfaceConnection- Overrides:
isClosedin classJdbcConnection- Returns:
- true if close was called
- Throws:
SQLException
-
checkClosed
protected void checkClosed()Description copied from class:JdbcConnectionINTERNAL. Check if this connection is closed.- Overrides:
checkClosedin classJdbcConnection
-