com.ibm.dse.services.jdbc
Class JDBCServicesConnMgrWS20
java.lang.Object
|
+--com.ibm.dse.services.jdbc.JDBCServicesConnMgrWS20
- public class JDBCServicesConnMgrWS20
- extends java.lang.Object
- implements JDBCServicesConnectionManagementInterface
Implementation of the JDBCServicesConnectionManagementInterface interface to use the pool of connections provided by
WebSphere 2.0.
Method Summary |
void |
disconnect(Hashtable connProperties,
java.sql.Connection connection)
Releases the database connection to the pool of connections managed by WebSphere 2.0. |
java.sql.Connection |
requestConnection(Hashtable connProperties)
Requests the database connection to the WebSphere 2.0 connection manager with the connection properties set in the connProperties hashtable. |
boolean |
verifyConnection(java.sql.Connection aConnection)
Checks for the availability of the database connection by calling the verifyIBMConnection method. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
JDBCServicesConnMgrWS20
public JDBCServicesConnMgrWS20()
- This constructor creates a JDBCServicesConnMgrWS20 instance.
disconnect
public void disconnect(Hashtable connProperties,
java.sql.Connection connection)
throws DSEException
- Releases the database connection to the pool of connections managed by WebSphere 2.0.
- Specified by:
- disconnect in interface JDBCServicesConnectionManagementInterface
- Parameters:
connProperties
- com.ibm.dse.base.Hashtableconnection
- java.sql.Connection- Throws:
- DSEException - if an exception is thrown when calling the pool of connections manager
requestConnection
public java.sql.Connection requestConnection(Hashtable connProperties)
throws DSESQLException,
DSEException
- Requests the database connection to the WebSphere 2.0 connection manager with the connection properties set in the connProperties hashtable.
- Specified by:
- requestConnection in interface JDBCServicesConnectionManagementInterface
- Parameters:
connProperties
- com.ibm.dse.base.Hashtable- Throws:
- DSESQLException - if an SQLException is caught
- DSEException - if an exception is thrown when calling the pool of connections manager
verifyConnection
public boolean verifyConnection(java.sql.Connection aConnection)
throws DSEException
- Checks for the availability of the database connection by calling the verifyIBMConnection method.
- Specified by:
- verifyConnection in interface JDBCServicesConnectionManagementInterface
- Parameters:
aConnection
- java.sql.Connection- Throws:
- DSEException - if an exception is thrown when calling the pool of connections manager