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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptsURL(String url) connect(String url, Properties info) intintThis method is added to make this driver compile on Java7getPropertyInfo(String url, Properties info) boolean
-
Constructor Details
-
DelegatingDriver
-
-
Method Details
-
connect
- Specified by:
connectin interfaceDriver- Throws:
SQLException
-
acceptsURL
- Specified by:
acceptsURLin interfaceDriver- Throws:
SQLException
-
getPropertyInfo
- Specified by:
getPropertyInfoin interfaceDriver- Throws:
SQLException
-
getMajorVersion
public int getMajorVersion()- Specified by:
getMajorVersionin interfaceDriver
-
getMinorVersion
public int getMinorVersion()- Specified by:
getMinorVersionin interfaceDriver
-
jdbcCompliant
public boolean jdbcCompliant()- Specified by:
jdbcCompliantin interfaceDriver
-
getParentLogger
This method is added to make this driver compile on Java7- Specified by:
getParentLoggerin interfaceDriver- Returns:
- always null until we finally switch over to Java7 with the codebase (TODO)
-