i-net OPTA 2000

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


Constructor Summary
PoolDriver()
           
 
Method Summary
 boolean acceptsURL(java.lang.String url)
           
 java.sql.Connection connect(java.lang.String url, java.util.Properties info)
           
 int getMajorVersion()
           
 int getMinorVersion()
           
 java.sql.DriverPropertyInfo[] getPropertyInfo(java.lang.String url, java.util.Properties info)
           
 boolean jdbcCompliant()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PoolDriver

public PoolDriver()
Method Detail

acceptsURL

public boolean acceptsURL(java.lang.String url)
                   throws java.sql.SQLException
Specified by:
acceptsURL in interface java.sql.Driver

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

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

jdbcCompliant

public boolean jdbcCompliant()
Specified by:
jdbcCompliant in interface java.sql.Driver

i-net OPTA 2000


copyright by i-net software