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.Driverjava.sql.SQLExceptionpublic boolean acceptsURL(java.lang.String url)
throws java.sql.SQLException
acceptsURL in interface java.sql.Driverjava.sql.SQLExceptionpublic java.sql.DriverPropertyInfo[] getPropertyInfo(java.lang.String url,
java.util.Properties properties)
throws java.sql.SQLException
getPropertyInfo in interface java.sql.Driverjava.sql.SQLExceptionpublic int getMajorVersion()
getMajorVersion in interface java.sql.Driverpublic int getMinorVersion()
getMinorVersion in interface java.sql.Driverpublic boolean jdbcCompliant()
jdbcCompliant in interface java.sql.Driverpublic static org.apache.derby.client.am.ClientJDBCObjectFactory getFactory()
Apache Derby 10.10 API Documentation - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.