Package play.db
Class DBPlugin.ProxyDriver
java.lang.Object
play.db.DBPlugin.ProxyDriver
- All Implemented Interfaces:
Driver
- Enclosing class:
- DBPlugin
Needed because DriverManager will not load a driver ouside of the system classloader
-
Method Summary
Modifier and TypeMethodDescriptionboolean
acceptsURL
(String u) connect
(String u, Properties p) int
int
getPropertyInfo
(String u, Properties p) boolean
-
Method Details
-
acceptsURL
- Specified by:
acceptsURL
in interfaceDriver
- Throws:
SQLException
-
connect
- Specified by:
connect
in interfaceDriver
- Throws:
SQLException
-
getMajorVersion
public int getMajorVersion()- Specified by:
getMajorVersion
in interfaceDriver
-
getMinorVersion
public int getMinorVersion()- Specified by:
getMinorVersion
in interfaceDriver
-
getPropertyInfo
- Specified by:
getPropertyInfo
in interfaceDriver
- Throws:
SQLException
-
jdbcCompliant
public boolean jdbcCompliant()- Specified by:
jdbcCompliant
in interfaceDriver
-
getParentLogger
- Specified by:
getParentLogger
in interfaceDriver
-