Package org.pentaho.di.core.database
Class DelegatingDriver
java.lang.Object
org.pentaho.di.core.database.DelegatingDriver
- All Implemented Interfaces:
Driver
This delegating driver allows the plugin system to be used in a separate class loader while making DriverManager
believe that the parent class loader is used.
It's an unfortunate hack but it works fine.
- Author:
- matt
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
acceptsURL
(String url) connect
(String url, Properties info) int
int
This method is added to make this driver compile on Java7getPropertyInfo
(String url, Properties info) boolean
-
Constructor Details
-
DelegatingDriver
-
-
Method Details
-
connect
- Specified by:
connect
in interfaceDriver
- Throws:
SQLException
-
acceptsURL
- Specified by:
acceptsURL
in interfaceDriver
- Throws:
SQLException
-
getPropertyInfo
- Specified by:
getPropertyInfo
in interfaceDriver
- Throws:
SQLException
-
getMajorVersion
public int getMajorVersion()- Specified by:
getMajorVersion
in interfaceDriver
-
getMinorVersion
public int getMinorVersion()- Specified by:
getMinorVersion
in interfaceDriver
-
jdbcCompliant
public boolean jdbcCompliant()- Specified by:
jdbcCompliant
in interfaceDriver
-
getParentLogger
This method is added to make this driver compile on Java7- Specified by:
getParentLogger
in interfaceDriver
- Returns:
- always null until we finally switch over to Java7 with the codebase (TODO)
-