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

WebLogic Server 5.1.0sp9 API Reference

## weblogic.jdbc.pool
Class Connection

    java.lang.Object
      |
      +--weblogic.jdbcbase.pool.Connection
            |
            +--weblogic.jdbc.pool.Connection

public class Connection
extends weblogic.jdbcbase.pool.Connection
implements java.sql.Connection

This class implements `java.sql.Connection`, and all of the documentation for its methods can be found in the `java.sql.Connection` docs.

Author:
  Copyright (c) 1997-1998 by WebLogic, Inc. All Rights Reserved., Copyright (c) 1998-1999 by BEA Systems, Inc. All Rights Reserved.
  Copyright © 2001 BEA Systems, Inc. All Rights Reserved.

Fields inherited from class weblogic.jdbcbase.pool.Connection
`beenClosed, cc, conn`

Constructor Summary
`Connection(weblogic.jdbc.common.internal.ConnectionEnv aCc)`

Method Summary
`java.sql.Statement` | `createStatement()`
`java.sql.DatabaseMetaData` | `getMetaData()`
`java.sql.CallableStatement` | `prepareCall(java.lang.String sql)`
`java.sql.PreparedStatement` | `prepareStatement(java.lang.String sql)`

Methods inherited from class weblogic.jdbcbase.pool.Connection
`checkIfClosed, clearWarnings, close, commit, finalize, getAutoCommit, getCatalog, getTransactionIsolation, getWarnings, isClosed, isReadOnly, nativeSQL, refresh, rollback, setAutoCommit, setCatalog, setReadOnly, setTransactionIsolation`

Methods inherited from class java.lang.Object
`clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Connection

    public Connection(weblogic.jdbc.common.internal.ConnectionEnv aCc)

Method Detail

### createStatement

    public java.sql.Statement createStatement()
                                       throws java.sql.SQLException

  Specified by:
    createStatement in interface java.sql.Connection

  Returns:
    Statement
  Throws:
    java.sql.SQLException - if there is an error
  Overrides:
    createStatement in class weblogic.jdbcbase.pool.Connection

### prepareStatement

    public java.sql.PreparedStatement prepareStatement(java.lang.String sql)
                                                throws java.sql.SQLException

  Specified by:
    prepareStatement in interface java.sql.Connection

  Parameters:
    `sql` - String
  Returns:
    PreparedStatement
  Throws:
    java.sql.SQLException - if there is an error
  Overrides:
    prepareStatement in class weblogic.jdbcbase.pool.Connection

### prepareCall

    public java.sql.CallableStatement prepareCall(java.lang.String sql)
                                           throws java.sql.SQLException

  Specified by:
    prepareCall in interface java.sql.Connection

  Parameters:
    `sql` - String
  Returns:
    CallableStatement
  Throws:
    java.sql.SQLException - if there is an error
  Overrides:
    prepareCall in class weblogic.jdbcbase.pool.Connection

### getMetaData

    public java.sql.DatabaseMetaData getMetaData()
                                          throws java.sql.SQLException

  Specified by:
    getMetaData in interface java.sql.Connection

  Returns:
    DatabaseMetaData
  Throws:
    java.sql.SQLException - if there is an error
  Overrides:
    getMetaData in class weblogic.jdbcbase.pool.Connection

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://www.weblogic.com/docs51
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD