public class JdbcDriverWrapper extends Object implements Driver
| Constructor and Description |
|---|
JdbcDriverWrapper(Driver driver) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptsURL(String url) |
Connection |
connect(String url,
Properties properties) |
int |
getMajorVersion() |
int |
getMinorVersion() |
Logger |
getParentLogger() |
DriverPropertyInfo[] |
getPropertyInfo(String url,
Properties properties) |
boolean |
jdbcCompliant() |
public JdbcDriverWrapper(Driver driver)
driver - public boolean acceptsURL(String url) throws SQLException
acceptsURL in interface DriverSQLExceptionDriver.acceptsURL(String)public Connection connect(String url, Properties properties) throws SQLException
connect in interface DriverSQLExceptionDriver.connect(String, java.util.Properties)public int getMajorVersion()
getMajorVersion in interface DriverDriver.getMajorVersion()public int getMinorVersion()
getMinorVersion in interface DriverDriver.getMinorVersion()public DriverPropertyInfo[] getPropertyInfo(String url, Properties properties) throws SQLException
getPropertyInfo in interface DriverSQLExceptionDriver.getPropertyInfo(String, java.util.Properties)public boolean jdbcCompliant()
jdbcCompliant in interface DriverDriver.jdbcCompliant()public Logger getParentLogger() throws SQLFeatureNotSupportedException
getParentLogger in interface DriverSQLFeatureNotSupportedExceptionDriver.getParentLogger()Copyright © 2005–2014 AndroMDA.org. All rights reserved.