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 Driver
SQLException
Driver.acceptsURL(String)
public Connection connect(String url, Properties properties) throws SQLException
connect
in interface Driver
SQLException
Driver.connect(String, java.util.Properties)
public int getMajorVersion()
getMajorVersion
in interface Driver
Driver.getMajorVersion()
public int getMinorVersion()
getMinorVersion
in interface Driver
Driver.getMinorVersion()
public DriverPropertyInfo[] getPropertyInfo(String url, Properties properties) throws SQLException
getPropertyInfo
in interface Driver
SQLException
Driver.getPropertyInfo(String, java.util.Properties)
public boolean jdbcCompliant()
jdbcCompliant
in interface Driver
Driver.jdbcCompliant()
public Logger getParentLogger() throws SQLFeatureNotSupportedException
getParentLogger
in interface Driver
SQLFeatureNotSupportedException
Driver.getParentLogger()
Copyright © 2005–2014 AndroMDA.org. All rights reserved.