public class VirtualDriver extends Object implements Driver
de.simplicit.vjdbc.VirtualConnection instance for give connection string.
For supported connection strings see VjdbcConnectionStringParser.| Constructor and Description |
|---|
VirtualDriver() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptsURL(String url) |
Connection |
connect(String rawUrl,
Properties props) |
int |
getMajorVersion() |
int |
getMinorVersion() |
Logger |
getParentLogger() |
DriverPropertyInfo[] |
getPropertyInfo(String url,
Properties info) |
protected VirtualConnectionBuilder |
getVirtualConnectionBuilder() |
boolean |
jdbcCompliant() |
public Connection connect(String rawUrl, Properties props) throws SQLException
connect in interface DriverSQLExceptionprotected VirtualConnectionBuilder getVirtualConnectionBuilder()
public boolean acceptsURL(String url) throws SQLException
acceptsURL in interface DriverSQLExceptionpublic DriverPropertyInfo[] getPropertyInfo(String url, Properties info) throws SQLException
getPropertyInfo in interface DriverSQLExceptionpublic int getMajorVersion()
getMajorVersion in interface Driverpublic int getMinorVersion()
getMinorVersion in interface Driverpublic boolean jdbcCompliant()
jdbcCompliant in interface Driverpublic Logger getParentLogger() throws SQLFeatureNotSupportedException
getParentLogger in interface DriverSQLFeatureNotSupportedExceptionCopyright © 2017 SAP SE. All Rights Reserved.