public static class BasicDataSource.DriverShim
extends java.lang.Object
implements java.sql.Driver
Constructor and Description |
---|
DriverShim(java.sql.Driver d) |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsURL(java.lang.String u) |
java.sql.Connection |
connect(java.lang.String u,
java.util.Properties p) |
int |
getMajorVersion() |
int |
getMinorVersion() |
java.util.logging.Logger |
getParentLogger() |
java.sql.DriverPropertyInfo[] |
getPropertyInfo(java.lang.String u,
java.util.Properties p) |
boolean |
jdbcCompliant() |
public boolean acceptsURL(java.lang.String u) throws java.sql.SQLException
acceptsURL
in interface java.sql.Driver
java.sql.SQLException
public java.sql.Connection connect(java.lang.String u, java.util.Properties p) throws java.sql.SQLException
connect
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 java.sql.DriverPropertyInfo[] getPropertyInfo(java.lang.String u, java.util.Properties p) throws java.sql.SQLException
getPropertyInfo
in interface java.sql.Driver
java.sql.SQLException
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