| 构造器和说明 |
|---|
ProxoolDriver() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
acceptsURL(String url) |
Connection |
connect(String url,
Properties info)
The url should be of the form:
proxool:delegate-class:delegate-url
or,
proxool.name:delegate-class:delegate-url
where delegate-class is the actual Driver that will be used and
delegate-url is the url that will be based to that Driver
By defining name you are able to define multiple connection pools
even if the delegate url is the same.
|
int |
getMajorVersion() |
int |
getMinorVersion() |
Logger |
getParentLogger() |
DriverPropertyInfo[] |
getPropertyInfo(String url,
Properties info) |
boolean |
jdbcCompliant() |
public Connection connect(String url, Properties info) throws SQLException
proxool:delegate-class:delegate-urlor,
proxool.name:delegate-class:delegate-urlwhere
delegate-classis the actual Driver that will be used and
delegate-urlis the url that will be based to that Driver By defining
nameyou are able to define multiple connection pools even if the delegate url is the same. The entire url (including the proxool.name) is used to uniquely identify this pool.
connect 在接口中 DriverSQLExceptionpublic boolean acceptsURL(String url) throws SQLException
acceptsURL 在接口中 DriverSQLExceptionDriver.acceptsURL(java.lang.String)public DriverPropertyInfo[] getPropertyInfo(String url, Properties info) throws SQLException
public int getMajorVersion()
getMajorVersion 在接口中 DriverDriver.getMajorVersion()public int getMinorVersion()
getMinorVersion 在接口中 DriverDriver.getMinorVersion()public boolean jdbcCompliant()
jdbcCompliant 在接口中 DriverDriver.jdbcCompliant()public Logger getParentLogger() throws SQLFeatureNotSupportedException
getParentLogger 在接口中 DriverSQLFeatureNotSupportedExceptionCopyright © 2024. All rights reserved.