public abstract class P6SpyDriverCore
extends java.lang.Object
implements java.sql.Driver
Modifier and Type | Field and Description |
---|---|
protected static java.util.ArrayList |
factories |
protected static boolean |
foundSpyProperties |
protected static boolean |
initialized |
protected java.sql.Driver |
passthru |
protected static java.util.ArrayList |
realDrivers |
Constructor and Description |
---|
P6SpyDriverCore(java.lang.String _spydriver,
P6Factory _p6factory) |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsURL(java.lang.String p0)
for some reason the passthru is null, go create one
|
java.sql.Connection |
connect(java.lang.String p0,
java.util.Properties p1) |
protected void |
findPassthru(java.lang.String url) |
int |
getMajorVersion() |
int |
getMinorVersion() |
java.sql.Driver |
getPassthru() |
java.sql.DriverPropertyInfo[] |
getPropertyInfo(java.lang.String p0,
java.util.Properties p1) |
static void |
initMethod(java.lang.String spydriver) |
boolean |
jdbcCompliant() |
void |
setPassthru(java.sql.Driver inVar) |
static java.sql.Connection |
wrapConnection(java.sql.Connection realConnection) |
protected java.sql.Driver passthru
protected static boolean initialized
protected static java.util.ArrayList factories
protected static java.util.ArrayList realDrivers
protected static boolean foundSpyProperties
public P6SpyDriverCore(java.lang.String _spydriver, P6Factory _p6factory) throws java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.sql.SQLException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.sql.SQLException
public static void initMethod(java.lang.String spydriver)
public static java.sql.Connection wrapConnection(java.sql.Connection realConnection) throws java.sql.SQLException
java.sql.SQLException
public java.sql.Driver getPassthru()
public void setPassthru(java.sql.Driver inVar)
public java.sql.Connection connect(java.lang.String p0, java.util.Properties p1) throws java.sql.SQLException
connect
in interface java.sql.Driver
java.sql.SQLException
protected void findPassthru(java.lang.String url)
public boolean acceptsURL(java.lang.String p0) throws java.sql.SQLException
acceptsURL
in interface java.sql.Driver
java.sql.SQLException
public java.sql.DriverPropertyInfo[] getPropertyInfo(java.lang.String p0, java.util.Properties p1) 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