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

## com.beasys.portal
Class JDBCTools

    java.lang.Object
      |
      +--com.beasys.portal.JDBCTools

public class JDBCTools
extends java.lang.Object

Generic class for getting JDBC connections for your server. Reimplement to get your own connections. It is a class, so that we can statically call the methods on the class.

Constructor Summary
`JDBCTools()`

Method Summary
`static java.sql.Connection` | `getConnection()` Get a WebLogic connection from a JDBC database connection pool.

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

Constructor Detail

### JDBCTools

    public JDBCTools()

Method Detail

### getConnection

    public static java.sql.Connection getConnection()
                                             throws PortalException

  Get a WebLogic connection from a JDBC database connection pool. The pool used is determined by the weblogic.properties file database connection pool property whose value is the com.beasys.util.ToolkitConstants.DEFAULT_JDBC_POOL_NAME. Depending on whether this is client side or server side it will get the connection two different ways. This can not be used for a EJB connection pool.
  Returns:
    Connection pooled connection
  See Also:
    `ToolkitConstants.DEFAULT_JDBC_POOL_NAME`, `weblogic.properties`

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

Copyright © 2000 BEA Systems, Inc. All Rights Reserved