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 org.apache.derby.client.am.ClientJDBCObjectFactory |
getFactory()
This method returns an Implementation
of ClientJDBCObjectFactory depending on
VM under use
Currently it returns either
ClientJDBCObjectFactoryImpl
(or)
ClientJDBCObjectFactoryImpl42
|
int |
getMajorVersion() |
int |
getMinorVersion() |
java.util.logging.Logger |
getParentLogger() |
java.sql.DriverPropertyInfo[] |
getPropertyInfo(java.lang.String url,
java.util.Properties properties) |
boolean |
jdbcCompliant() |
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 org.apache.derby.client.am.ClientJDBCObjectFactory getFactory()
Apache Derby 10.13 API Documentation - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.