public class ClientDriver
extends java.lang.Object
implements java.sql.Driver
Constructor and Description |
---|
ClientDriver() |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsURL(java.lang.String url) |
java.sql.Connection |
connect(java.lang.String url,
java.util.Properties properties) |
static ClientJDBCObjectFactory |
getFactory()
This method returns an Implementation
of ClientJDBCObjectFactory depending on
VM under use
Currently it returns either
ClientJDBCObjectFactoryImpl
(or)
ClientJDBCObjectFactoryImpl40
|
int |
getMajorVersion() |
int |
getMinorVersion() |
java.util.logging.Logger |
getParentLogger() |
java.sql.DriverPropertyInfo[] |
getPropertyInfo(java.lang.String url,
java.util.Properties properties) |
boolean |
jdbcCompliant() |
protected static void |
registerMe(ClientDriver me) |
static java.util.Properties |
tokenizeURLProperties(java.lang.String url,
java.util.Properties properties) |
protected static void registerMe(ClientDriver me)
public java.sql.Connection connect(java.lang.String url, java.util.Properties properties) throws java.sql.SQLException
connect
in interface java.sql.Driver
java.sql.SQLException
public boolean acceptsURL(java.lang.String url) throws java.sql.SQLException
acceptsURL
in interface java.sql.Driver
java.sql.SQLException
public java.sql.DriverPropertyInfo[] getPropertyInfo(java.lang.String url, java.util.Properties properties) throws java.sql.SQLException
getPropertyInfo
in interface java.sql.Driver
java.sql.SQLException
public int getMajorVersion()
getMajorVersion
in interface java.sql.Driver
public int getMinorVersion()
getMinorVersion
in interface java.sql.Driver
public boolean jdbcCompliant()
jdbcCompliant
in interface java.sql.Driver
public java.util.logging.Logger getParentLogger() throws java.sql.SQLFeatureNotSupportedException
getParentLogger
in interface java.sql.Driver
java.sql.SQLFeatureNotSupportedException
public static java.util.Properties tokenizeURLProperties(java.lang.String url, java.util.Properties properties) throws SqlException
SqlException
public static ClientJDBCObjectFactory getFactory()