public class NonRegisterDriver extends Object implements Driver
| 构造器和说明 |
|---|
NonRegisterDriver() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 boolean acceptsURL(String url) throws SQLException
acceptsURL 在接口中 DriverSQLExceptionpublic Connection connect(String url, Properties properties) throws SQLException
connect 在接口中 DriverSQLExceptionpublic DriverPropertyInfo[] getPropertyInfo(String url, Properties properties) throws SQLException
getPropertyInfo 在接口中 DriverSQLExceptionpublic int getMajorVersion()
getMajorVersion 在接口中 Driverpublic int getMinorVersion()
getMinorVersion 在接口中 Driverpublic boolean jdbcCompliant()
jdbcCompliant 在接口中 Driverpublic Logger getParentLogger() throws SQLFeatureNotSupportedException
getParentLogger 在接口中 DriverSQLFeatureNotSupportedExceptionCopyright © 2020. All rights reserved.