Class UnpooledDataSource.DriverProxy
- java.lang.Object
-
- org.apache.ibatis.datasource.unpooled.UnpooledDataSource.DriverProxy
-
- All Implemented Interfaces:
java.sql.Driver
- Enclosing class:
- UnpooledDataSource
private static class UnpooledDataSource.DriverProxy extends java.lang.Object implements java.sql.Driver
-
-
Field Summary
Fields Modifier and Type Field Description private java.sql.Driver
driver
-
Constructor Summary
Constructors Constructor Description DriverProxy(java.sql.Driver d)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
acceptsURL(java.lang.String u)
java.sql.Connection
connect(java.lang.String u, java.util.Properties p)
int
getMajorVersion()
int
getMinorVersion()
java.util.logging.Logger
getParentLogger()
java.sql.DriverPropertyInfo[]
getPropertyInfo(java.lang.String u, java.util.Properties p)
boolean
jdbcCompliant()
-
-
-
Method Detail
-
acceptsURL
public boolean acceptsURL(java.lang.String u) throws java.sql.SQLException
- Specified by:
acceptsURL
in 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:
connect
in interfacejava.sql.Driver
- Throws:
java.sql.SQLException
-
getMajorVersion
public int getMajorVersion()
- Specified by:
getMajorVersion
in interfacejava.sql.Driver
-
getMinorVersion
public int getMinorVersion()
- Specified by:
getMinorVersion
in interfacejava.sql.Driver
-
getPropertyInfo
public java.sql.DriverPropertyInfo[] getPropertyInfo(java.lang.String u, java.util.Properties p) throws java.sql.SQLException
- Specified by:
getPropertyInfo
in interfacejava.sql.Driver
- Throws:
java.sql.SQLException
-
jdbcCompliant
public boolean jdbcCompliant()
- Specified by:
jdbcCompliant
in interfacejava.sql.Driver
-
getParentLogger
public java.util.logging.Logger getParentLogger()
- Specified by:
getParentLogger
in interfacejava.sql.Driver
-
-