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)
ClientJDBCObjectFactoryImpl40
|
int |
getMajorVersion() |
int |
getMinorVersion() |
java.sql.DriverPropertyInfo[] |
getPropertyInfo(java.lang.String url,
java.util.Properties properties) |
boolean |
jdbcCompliant() |
protected static void |
registerMe(ClientDriver me) |
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 static org.apache.derby.client.am.ClientJDBCObjectFactory getFactory()
Apache Derby 10.10 API Documentation - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.