|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
weblogic.jdbc.pool.Driver
Deprecated. 9.0.0.0 Use a DataSource to get a database connection.
public final class Driver
Provides serverside access to connection pools.
| Method Summary | |
|---|---|
boolean |
acceptsURL(String url)Deprecated. Determines whether the URL is acceptable for use with a Driver. |
protected Connection |
allocateConnection(weblogic.jdbc.common.internal.ConnectionEnv cc)Deprecated. |
Connection |
connect(String url, Properties dbprops)Deprecated. Makes a JDBC connection with the specified driver and properties. |
int |
getMajorVersion()Deprecated. Returns the current version. |
int |
getMinorVersion()Deprecated. Returns the current minor version. |
Logger |
getParentLogger()Deprecated. |
DriverPropertyInfo[] |
getPropertyInfo(String url, Properties info)Deprecated. Returns info about a Driver as an array of DriverPropertyInfo. |
boolean |
jdbcCompliant()Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Connection connect(String url,
Properties dbprops)
throws SQLException
connect in interface Driverurl - URL of the driver, as in "jdbc:weblogic:pool"dbprops - java.util.Properties for connectingSQLException
public DriverPropertyInfo[] getPropertyInfo(String url,
Properties info)
throws SQLException
getPropertyInfo in interface Driverurl - URL of the Driverinfo - Properties objectSQLExceptionpublic int getMajorVersion()
getMajorVersion in interface Driverpublic int getMinorVersion()
getMinorVersion in interface Driverpublic boolean jdbcCompliant()
jdbcCompliant in interface Driver
protected Connection allocateConnection(weblogic.jdbc.common.internal.ConnectionEnv cc)
throws SQLException
SQLExceptionpublic boolean acceptsURL(String url)
acceptsURL in interface Driverurl - URL of the Driver
public Logger getParentLogger()
throws SQLFeatureNotSupportedException
getParentLogger in interface DriverSQLFeatureNotSupportedException
|
Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||