public abstract class P6SpyDriverCore extends Object implements Driver
Modifier and Type | Field and Description |
---|---|
protected static ArrayList |
factories |
protected static boolean |
foundSpyProperties |
protected static boolean |
initialized |
protected Driver |
passthru |
protected static ArrayList |
realDrivers |
Constructor and Description |
---|
P6SpyDriverCore(String _spydriver,
P6Factory _p6factory) |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsURL(String p0)
for some reason the passthru is null, go create one
|
Connection |
connect(String p0,
Properties p1) |
protected void |
findPassthru(String url) |
int |
getMajorVersion() |
int |
getMinorVersion() |
Driver |
getPassthru() |
DriverPropertyInfo[] |
getPropertyInfo(String p0,
Properties p1) |
static void |
initMethod(String spydriver) |
boolean |
jdbcCompliant() |
void |
setPassthru(Driver inVar) |
static Connection |
wrapConnection(Connection realConnection) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getParentLogger
protected Driver passthru
protected static boolean initialized
protected static ArrayList factories
protected static ArrayList realDrivers
protected static boolean foundSpyProperties
public P6SpyDriverCore(String _spydriver, P6Factory _p6factory) throws ClassNotFoundException, InstantiationException, IllegalAccessException, SQLException
public static void initMethod(String spydriver)
public static Connection wrapConnection(Connection realConnection) throws SQLException
SQLException
public Driver getPassthru()
public void setPassthru(Driver inVar)
public Connection connect(String p0, Properties p1) throws SQLException
connect
in interface Driver
SQLException
protected void findPassthru(String url)
public boolean acceptsURL(String p0) throws SQLException
acceptsURL
in interface Driver
SQLException
public DriverPropertyInfo[] getPropertyInfo(String p0, Properties p1) throws SQLException
getPropertyInfo
in interface Driver
SQLException
public int getMajorVersion()
getMajorVersion
in interface Driver
public int getMinorVersion()
getMinorVersion
in interface Driver
public boolean jdbcCompliant()
jdbcCompliant
in interface Driver