Driver Object  

Methods
Version
Introduced

Supported

Comments
boolean acceptsURL (String)
1.0
Yes
Connection connect (String, Properties)
1.0
Yes
int getMajorVersion ()
1.0
Yes
int getMinorVersion ()
1.0
Yes

DriverPropertyInfo [] getPropertyInfo (String, Properties)
1.0
Yes

boolean jdbcCompliant ()
1.0
Yes

PooledConnection Object

 

Methods

Version
Introduced


Supported


Comments
void addConnectionEventListener (ConnectionEventListener)
2.0 Optional
Yes

void close()
2.0 Optional
Yes

Connection getConnection()
2.0 Optional
Yes
A particular PooledConnection object can have only one Connection object open, and that is the one most recently created. The purpose of allowing the server (PoolManager implementation) to invoke the method getConnection a second time is to give that application server a way to take a connection away from an application and give it to someone else. This is rare, but the capability is there. The driver does not support this "reclaiming" of connections and will throw an SQLException "Reclaim of open connection is not supported."
void removeConnectionEvent
Listener (ConnectionEventListener)
2.0 Optional
Yes


Previous Document Previous Page Next Document Next Page Synchronize TOC Synchronize with Contents