org.ow2.jonas.dbm.internal.cm
Interface IConnection

All Superinterfaces:
Connection, Wrapper

public interface IConnection
extends Connection

Extends the SQL Connection interface with a method to get the physical SQL connection.

Author:
Florent BENOIT

Field Summary
 
Fields inherited from interface java.sql.Connection
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE
 
Method Summary
 Connection getConnection()
          Gets the physical connection to the database.
 boolean isPhysicallyClosed()
           
 void setCheckClose(boolean cc)
           
 
Methods inherited from interface java.sql.Connection
clearWarnings, close, commit, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStatement, createStatement, createStatement, createStruct, getAutoCommit, getCatalog, getClientInfo, getClientInfo, getHoldability, getMetaData, getTransactionIsolation, getTypeMap, getWarnings, isClosed, isReadOnly, isValid, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setClientInfo, setClientInfo, setHoldability, setReadOnly, setSavepoint, setSavepoint, setTransactionIsolation, setTypeMap
 
Methods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
 

Method Detail

getConnection

Connection getConnection()
Gets the physical connection to the database.

Returns:
physical connection to the database

isPhysicallyClosed

boolean isPhysicallyClosed()
                           throws SQLException
Returns:
true if the connection to the database is closed or not.
Throws:
SQLException - if a database access error occurs

setCheckClose

void setCheckClose(boolean cc)


Copyright © 2012 OW2 Consortium. All Rights Reserved.