Class DatabaseShimBase
java.lang.Object
edu.internet2.middleware.grouperInstaller.driverShim.DatabaseShimBase
- All Implemented Interfaces:
Driver
- Direct Known Subclasses:
MySqlShim,OracleShim,PostgresShim,SqlServerShim
driver in right classloader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptsURL(String url) connect(String url, Properties info) abstract Stringreturn the driver classnameintintgetPropertyInfo(String url, Properties info) static voidboolean
-
Constructor Details
-
DatabaseShimBase
public DatabaseShimBase()construct
-
-
Method Details
-
init
- Parameters:
theJarFile-
-
getDriverClassName
return the driver classname- Returns:
- classname
-
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
- Specified by:
getParentLoggerin interfaceDriver- Throws:
SQLFeatureNotSupportedException
-