i-net JDBC drivers for MS SQL Server

com.inet.pool
Class PoolDriver

java.lang.Object
  extended by 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
           
 
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
 

Field Detail

factory

public static com.inet.pool.PoolFactory factory
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
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

i-net JDBC drivers for MS SQL Server


copyright by i-net software