public interface PoolableConnection extends Connection
ConnectionPoolComponent
that in addition to
the standard JDBC methods also has information about when it was
created and when it expires, among other things.TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE
Modifier and Type | Method and Description |
---|---|
long |
getCreated() |
long |
getExpires() |
long |
getId() |
char[] |
getPassword() |
String |
getUri() |
String |
getUser() |
void |
onClose() |
void |
rawClose() |
void |
setOnClose(Runnable onClose) |
abort, clearWarnings, close, 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, setTypeMap
isWrapperFor, unwrap
long getId()
void rawClose() throws SQLException
SQLException
long getCreated()
long getExpires()
String getUser()
char[] getPassword()
String getUri()
void onClose()
void setOnClose(Runnable onClose)
Copyright © 2019 Speedment, Inc.. All rights reserved.