Class DbUtils.DriverProxy
java.lang.Object
org.apache.commons.dbutils.DbUtils.DriverProxy
- All Implemented Interfaces:
Driver
- Enclosing class:
DbUtils
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DriverThe adapted JDBC Driver loaded dynamically.private boolean -
Constructor Summary
ConstructorsConstructorDescriptionDriverProxy(Driver adapted) Creates a new JDBC Driver that adapts a JDBC Driver loaded dynamically. -
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptsURL(String url) connect(String url, Properties info) intintJava 1.7 method.getPropertyInfo(String url, Properties info) boolean
-
Field Details
-
parentLoggerSupported
private boolean parentLoggerSupported -
adapted
The adapted JDBC Driver loaded dynamically.
-
-
Constructor Details
-
DriverProxy
Creates a new JDBC Driver that adapts a JDBC Driver loaded dynamically.- Parameters:
adapted- the adapted JDBC Driver loaded dynamically.
-
-
Method Details
-
acceptsURL
- Specified by:
acceptsURLin interfaceDriver- Throws:
SQLException
-
connect
- Specified by:
connectin interfaceDriver- Throws:
SQLException
-
getMajorVersion
public int getMajorVersion()- Specified by:
getMajorVersionin interfaceDriver
-
getMinorVersion
public int getMinorVersion()- Specified by:
getMinorVersionin interfaceDriver
-
getPropertyInfo
- Specified by:
getPropertyInfoin interfaceDriver- Throws:
SQLException
-
jdbcCompliant
public boolean jdbcCompliant()- Specified by:
jdbcCompliantin interfaceDriver
-
getParentLogger
Java 1.7 method.- Specified by:
getParentLoggerin interfaceDriver- Throws:
SQLFeatureNotSupportedException
-