• Topic
  • Discussion
  • UdaWikiWeb.ClassOPLPooledConnection(Last) -- Owiki? , 2016-08-19 14:59:44 Edit owiki 2016-08-19 14:59:44


    11.11.7. Class OPLPooledConnection
    OPLPooledConnection Classes OPLPooledConnection

    A PooledConnection object is a connection object that provides hooks for connection pool management. A PooledConnection object represents a physical connection to a data source.
    11.11.7.1. Synopsis

    public class OPLPooledConnection implements PooledConnection,Cloneable {
    Public Methods
    public void finalize() throws java.lang.Throwable;
    public void addConnectionEventListener(
    javax.sql.ConnectionEventListener parm);
    public void removeConnectionEventListener(
    javax.sql.ConnectionEventListener parm);
    public void close() throws java.sql.SQLException;
    public void closeAll() throws java.sql.SQLException;
    public Connection getConnection() throws java.sql.SQLException;
    }


    Inheritance Path
    java.lang.Object


    openlink.javax.OPLPooledConnection


    11.11.7.2. Members
    11.11.7.2.1. Method addConnectionEventListener(ConnectionEventListener)
    addConnectionEventListener Methods addConnectionEventListener

    Synopsis: public void addConnectionEventListener(
    javax.sql.ConnectionEventListener parm);


    Add an event listener.

    11.11.7.2.2. Method close()
    close Methods close

    Synopsis: public void close() throws java.sql.SQLException;


    Exceptions

    java.sql.SQLException

    if a database-access error occurs

    Close the physical connection.

    11.11.7.2.3. Method closeAll()
    closeAll Methods closeAll

    Synopsis: public void closeAll() throws java.sql.SQLException;


    Exceptions

    java.sql.SQLException

    if a database-access error occurs

    Close all the Statement objects that have been opened by this PooledConnection object.

    11.11.7.2.4. Method getConnection()
    getConnection Methods getConnection

    Synopsis: public Connection getConnection() throws java.sql.SQLException;


    Exceptions

    java.sql.SQLException

    if a database-access error occurs

    Create an object handle for this physical connection. The object returned is a temporary handle used by application code to refer to a physical connection that is being pooled.

    11.11.7.2.5. Method removeConnectionEventListener(ConnectionEventListener)
    removeConnectionEventListener Methods removeConnectionEventListener

    Synopsis: public void removeConnectionEventListener(
    javax.sql.ConnectionEventListener parm);


    Remove an event listener.


    Referenced by...