Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## weblogic.jdbc.pool
Class Driver

    java.lang.Object
      weblogic.jdbc.pool.Driver

All Implemented Interfaces:
  Driver

Deprecated. 9.0.0.0 Use a DataSource to get a database connection.

    public final class Driver

extends Object
implements Driver

Provides serverside access to connection pools.

Constructor Summary
`Driver()` Deprecated.

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.
`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`

Constructor Detail

### Driver

    public Driver()

  Deprecated.

Method Detail

### connect

    public Connection connect(String url,
                              Properties dbprops)
                       throws SQLException

  Deprecated.
  Makes a JDBC connection with the specified driver and properties. The URL of the driver is "jdbc:weblogic:pool" to which you may also add the connection pool ID, as registered in your `config.xml` file. The connection pool ID may also be set in the Properties object -- in fact, that is the only property that is necessary to set here. If you do not use the Properties object for setting the connection pool ID, set the argument to null.

  Specified by:
    `connect` in interface `Driver`
  Parameters:
    `url` - URL of the driver, as in "jdbc:weblogic:pool"
    `dbprops` - java.util.Properties for connecting
  Returns:
    JDBC Connection from a connection pool
  Throws:
    `SQLException`

### getPropertyInfo

    public DriverPropertyInfo[] getPropertyInfo(String url,
                                                Properties info)
                                         throws SQLException

  Deprecated.
  Returns info about a Driver as an array of DriverPropertyInfo.

  Specified by:
    `getPropertyInfo` in interface `Driver`
  Parameters:
    `url` - URL of the Driver
    `info` - Properties object
  Returns:
    Array of DriverPropertyInfo
  Throws:
    `SQLException`

### getMajorVersion

    public int getMajorVersion()

  Deprecated.
  Returns the current version.

  Specified by:
    `getMajorVersion` in interface `Driver`
  Returns:
    Version number

### getMinorVersion

    public int getMinorVersion()

  Deprecated.
  Returns the current minor version.

  Specified by:
    `getMinorVersion` in interface `Driver`
  Returns:
    Minor version number

### jdbcCompliant

    public boolean jdbcCompliant()

  Deprecated.
  Specified by:
    `jdbcCompliant` in interface `Driver`

### allocateConnection

    protected Connection allocateConnection(weblogic.jdbc.common.internal.ConnectionEnv cc)
                                     throws SQLException

  Deprecated.
  Throws:
    `SQLException`

### acceptsURL

    public boolean acceptsURL(String url)

  Deprecated.
  Determines whether the URL is acceptable for use with a Driver. The format for the URL of this Driver is `jdbc:weblogic:pool[:connectionPoolID]`

  Specified by:
    `acceptsURL` in interface `Driver`
  Parameters:
    `url` - URL of the Driver
  Returns:
    true if acceptable

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://e-docs.bea.com/wls/docs92 Copyright 2006 BEA Systems Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD