com.inet.pool
Class PoolDriver
java.lang.Object
com.inet.pool.PoolDriver
- All Implemented Interfaces:
- java.sql.Driver
public class PoolDriver
- extends java.lang.Object
- implements java.sql.Driver
This is a driver that uses internal pooling.
The Syntax of the URL is.
jdbc:inetpool:(subprotocol with parameter>
jdbc:inetpool:jdbc:(subprotocol with parameter)
Examples
jdbc:inetpool:inetdae7:www.inetsoftware.de:1433
jdbc:inetpool:inetdae7:localHost:1433
jdbc:inetpool:inetdae7://MyServer/pipe/sql/query
jdbc:inetpool:jdbc:inetdae7:www.inetsoftware.de:1433
jdbc:inetpool:jdbc:inetdae7:localHost:1433
jdbc:inetpool:jdbc:inetdae7://MyServer/pipe/sql/query
Field Summary |
static com.inet.pool.PoolFactory |
factory
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
factory
public static com.inet.pool.PoolFactory factory
PoolDriver
public PoolDriver()
acceptsURL
public boolean acceptsURL(java.lang.String url)
throws java.sql.SQLException
- Specified by:
acceptsURL
in interface java.sql.Driver
- Throws:
java.sql.SQLException
connect
public java.sql.Connection connect(java.lang.String url,
java.util.Properties info)
throws java.sql.SQLException
- Specified by:
connect
in interface java.sql.Driver
- Throws:
java.sql.SQLException
getMajorVersion
public int getMajorVersion()
- Specified by:
getMajorVersion
in interface java.sql.Driver
getMinorVersion
public int getMinorVersion()
- Specified by:
getMinorVersion
in interface java.sql.Driver
getPropertyInfo
public java.sql.DriverPropertyInfo[] getPropertyInfo(java.lang.String url,
java.util.Properties info)
throws java.sql.SQLException
- Specified by:
getPropertyInfo
in interface java.sql.Driver
- Throws:
java.sql.SQLException
jdbcCompliant
public boolean jdbcCompliant()
- Specified by:
jdbcCompliant
in interface java.sql.Driver
copyright by i-net software