Package lu.kbra.pclib.db.connector.impl
Interface AbstractConnection
- All Superinterfaces:
AutoCloseable,Connection,Wrapper
- All Known Implementing Classes:
AbstractDatabaseConnector.CachedConnection.ConnectionHolder,DelegatingConnection,SingleDatabaseConnector.LockedSingleCachedConnection.LockedSingleConnectionHolder,ThreadLocalDatabaseConnector.PerThreadCachedConnection.PerThreadConnectionHolder
-
Field Summary
Fields inherited from interface java.sql.Connection
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()<T> TgetAttribute(String key) booleanhasAttribute(String key) removeAttribute(String key) <T> ObjectsetAttribute(String key, T value) Methods inherited from interface java.sql.Connection
abort, beginRequest, clearWarnings, commit, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStatement, createStatement, createStatement, createStruct, endRequest, 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, setShardingKey, setShardingKey, setShardingKeyIfValid, setShardingKeyIfValid, setTransactionIsolation, setTypeMapMethods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceConnection- Throws:
DBException
-
getAttributes
-
setAttribute
-
getAttribute
-
hasAttribute
-
removeAttribute
-