| 构造器和说明 |
|---|
Driver() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
acceptsURL(String url)
returns true if the driver can accept the url.
|
Connection |
connect(String url,
Properties props)
Connect to the given connection string.
|
int |
getMajorVersion()
gets the major version of the driver.
|
int |
getMinorVersion()
gets the minor version of the driver.
|
Logger |
getParentLogger() |
DriverPropertyInfo[] |
getPropertyInfo(String url,
Properties info)
Get the property info.
|
boolean |
jdbcCompliant()
checks if the driver is jdbc compliant.
|
public Connection connect(String url, Properties props) throws SQLException
connect 在接口中 Driverurl - the url to connect toSQLException - if it is not possible to connectpublic boolean acceptsURL(String url) throws SQLException
acceptsURL 在接口中 Driverurl - the url to testSQLExceptionpublic DriverPropertyInfo[] getPropertyInfo(String url, Properties info) throws SQLException
getPropertyInfo 在接口中 Driverurl - the url to get properties forinfo - the info propsSQLException - if there is a problem getting the property infopublic int getMajorVersion()
getMajorVersion 在接口中 Driverpublic int getMinorVersion()
getMinorVersion 在接口中 Driverpublic boolean jdbcCompliant()
jdbcCompliant 在接口中 Driverpublic Logger getParentLogger() throws SQLFeatureNotSupportedException
getParentLogger 在接口中 DriverSQLFeatureNotSupportedExceptionCopyright © 2024 oceanbase.com. All rights reserved.