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 TypeMethodDescriptionboolean
acceptsURL
(String url) connect
(String url, Properties info) abstract String
return the driver classnameint
int
getPropertyInfo
(String url, Properties info) static void
boolean
-
Constructor Details
-
DatabaseShimBase
public DatabaseShimBase()construct
-
-
Method Details
-
init
- Parameters:
theJarFile
-
-
getDriverClassName
return the driver classname- Returns:
- classname
-
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
- Specified by:
getParentLogger
in interfaceDriver
- Throws:
SQLFeatureNotSupportedException
-