play.db
Class DBPlugin.ProxyDriver
java.lang.Object
play.db.DBPlugin.ProxyDriver
- All Implemented Interfaces:
- Driver
- Enclosing class:
- DBPlugin
public static class DBPlugin.ProxyDriver
- extends Object
- implements Driver
Needed because DriverManager will not load a driver ouside of the system classloader
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
acceptsURL
public boolean acceptsURL(String u)
throws SQLException
- Specified by:
acceptsURL in interface Driver
- Throws:
SQLException
connect
public Connection connect(String u,
Properties p)
throws SQLException
- Specified by:
connect in interface Driver
- Throws:
SQLException
getMajorVersion
public int getMajorVersion()
- Specified by:
getMajorVersion in interface Driver
getMinorVersion
public int getMinorVersion()
- Specified by:
getMinorVersion in interface Driver
getPropertyInfo
public DriverPropertyInfo[] getPropertyInfo(String u,
Properties p)
throws SQLException
- Specified by:
getPropertyInfo in interface Driver
- Throws:
SQLException
jdbcCompliant
public boolean jdbcCompliant()
- Specified by:
jdbcCompliant in interface Driver
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly