Package fr.dyade.aaa.util
Class XDBConnection
- java.lang.Object
-
- fr.dyade.aaa.util.WrappedConnection
-
- fr.dyade.aaa.util.XDBConnection
-
- All Implemented Interfaces:
AutoCloseable,Connection,Wrapper
public class XDBConnection extends WrappedConnection
-
-
Field Summary
Fields Modifier and Type Field Description private static booleandisconnected-
Fields inherited from class fr.dyade.aaa.util.WrappedConnection
connection
-
Fields inherited from interface java.sql.Connection
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE
-
-
Constructor Summary
Constructors Constructor Description XDBConnection(Connection connection)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) Connectionconnection()static voiddisconnect(boolean disconnect)-
Methods inherited from class fr.dyade.aaa.util.WrappedConnection
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, 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, unwrap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.sql.Connection
beginRequest, endRequest, setShardingKey, setShardingKey, setShardingKeyIfValid, setShardingKeyIfValid
-
-
-
-
Constructor Detail
-
XDBConnection
public XDBConnection(Connection connection)
-
-
Method Detail
-
disconnect
public static void disconnect(boolean disconnect)
-
connection
Connection connection() throws SQLException
- Specified by:
connectionin classWrappedConnection- Throws:
SQLException
-
-