org.ow2.jonas.resource.internal
Interface IJDBCConnection

All Superinterfaces:
Connection
All Known Implementing Classes:
ConnectionImpl

public interface IJDBCConnection
extends Connection

A JOnAS Specific JDBC SQL Connection.

Author:
Guillaume Sauthier

Field Summary
 
Fields inherited from interface java.sql.Connection
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE
 
Method Summary
 boolean isPhysicallyClosed()
           
 void setJonasInfo(ManagedConnectionInfo info, SQLManager manager)
          Give JOnAS specific data to the connection.
 void setUser()
          Use the username provided in meta-data.
 
Methods inherited from interface java.sql.Connection
clearWarnings, close, commit, createStatement, createStatement, createStatement, getAutoCommit, getCatalog, getHoldability, getMetaData, getTransactionIsolation, getTypeMap, getWarnings, isClosed, isReadOnly, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setHoldability, setReadOnly, setSavepoint, setSavepoint, setTransactionIsolation, setTypeMap
 

Method Detail

isPhysicallyClosed

boolean isPhysicallyClosed()
                           throws SQLException
Returns:
true if the connection is physically closed.
Throws:
SQLException

setJonasInfo

void setJonasInfo(ManagedConnectionInfo info,
                  SQLManager manager)
Give JOnAS specific data to the connection.

Parameters:
info - ManagedConnectionInfo
manager - the connection manager

setUser

void setUser()
Use the username provided in meta-data.



Copyright © 2010 OW2 Consortium. All Rights Reserved.