Package play.db
Class DBPlugin.ProxyDriver
- java.lang.Object
-
- play.db.DBPlugin.ProxyDriver
-
- All Implemented Interfaces:
java.sql.Driver
- Enclosing class:
- DBPlugin
public static class DBPlugin.ProxyDriver extends java.lang.Object implements java.sql.DriverNeeded because DriverManager will not load a driver ouside of the system classloader
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanacceptsURL(java.lang.String u)java.sql.Connectionconnect(java.lang.String u, java.util.Properties p)intgetMajorVersion()intgetMinorVersion()java.util.logging.LoggergetParentLogger()java.sql.DriverPropertyInfo[]getPropertyInfo(java.lang.String u, java.util.Properties p)booleanjdbcCompliant()
-
-
-
Method Detail
-
acceptsURL
public boolean acceptsURL(java.lang.String u) throws java.sql.SQLException- Specified by:
acceptsURLin interfacejava.sql.Driver- Throws:
java.sql.SQLException
-
connect
public java.sql.Connection connect(java.lang.String u, java.util.Properties p) throws java.sql.SQLException- Specified by:
connectin interfacejava.sql.Driver- Throws:
java.sql.SQLException
-
getMajorVersion
public int getMajorVersion()
- Specified by:
getMajorVersionin interfacejava.sql.Driver
-
getMinorVersion
public int getMinorVersion()
- Specified by:
getMinorVersionin interfacejava.sql.Driver
-
getPropertyInfo
public java.sql.DriverPropertyInfo[] getPropertyInfo(java.lang.String u, java.util.Properties p) throws java.sql.SQLException- Specified by:
getPropertyInfoin interfacejava.sql.Driver- Throws:
java.sql.SQLException
-
jdbcCompliant
public boolean jdbcCompliant()
- Specified by:
jdbcCompliantin interfacejava.sql.Driver
-
getParentLogger
public java.util.logging.Logger getParentLogger() throws java.sql.SQLFeatureNotSupportedException- Specified by:
getParentLoggerin interfacejava.sql.Driver- Throws:
java.sql.SQLFeatureNotSupportedException
-
-