Package lu.kbra.pclib.db.connector
Class SingleDatabaseConnector.LockedSingleCachedConnection.LockedSingleConnectionHolder
java.lang.Object
lu.kbra.pclib.db.connector.AbstractDatabaseConnector.CachedConnection.ConnectionHolder
lu.kbra.pclib.db.connector.SingleDatabaseConnector.LockedSingleCachedConnection.LockedSingleConnectionHolder
- All Implemented Interfaces:
AutoCloseable,Connection,Wrapper,AbstractConnection
- Enclosing class:
- SingleDatabaseConnector.LockedSingleCachedConnection
public final class SingleDatabaseConnector.LockedSingleCachedConnection.LockedSingleConnectionHolder
extends AbstractDatabaseConnector.CachedConnection.ConnectionHolder
-
Field Summary
Fields inherited from class lu.kbra.pclib.db.connector.AbstractDatabaseConnector.CachedConnection.ConnectionHolder
holderClosedFields inherited from interface java.sql.Connection
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class lu.kbra.pclib.db.connector.AbstractDatabaseConnector.CachedConnection.ConnectionHolder
abort, clearWarnings, commit, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStatement, createStatement, createStatement, createStruct, getAutoCommit, getCatalog, getClientInfo, getClientInfo, getConnection, getHoldability, getMetaData, getNetworkTimeout, getSchema, getTransactionIsolation, getTypeMap, getWarnings, isClosed, 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, unwrapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.sql.Connection
beginRequest, endRequest, setShardingKey, setShardingKey, setShardingKeyIfValid, setShardingKeyIfValid
-
Constructor Details
-
LockedSingleConnectionHolder
protected LockedSingleConnectionHolder()
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAbstractConnection- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceConnection- Specified by:
closein classAbstractDatabaseConnector.CachedConnection.ConnectionHolder
-