Class NewPooledConnection

java.lang.Object
com.mchange.v2.c3p0.impl.NewPooledConnection
All Implemented Interfaces:
com.mchange.v1.util.ClosableResource, PooledConnection

public final class NewPooledConnection extends Object
  • Constructor Details

  • Method Details

    • getConnection

      public Connection getConnection() throws SQLException
      Throws:
      SQLException
    • getConnectionStatus

      public int getConnectionStatus()
    • closeAll

      public void closeAll() throws SQLException
      Callers must ALREADY have marked the Connection in use before calling this method!
      Throws:
      SQLException
    • close

      public void close() throws SQLException
      If scache is non-null, callers must ALREADY have marked the Connection in use before calling this method!
      Throws:
      SQLException
    • addConnectionEventListener

      public void addConnectionEventListener(ConnectionEventListener cel)
    • removeConnectionEventListener

      public void removeConnectionEventListener(ConnectionEventListener cel)
    • printConnectionListeners

      public void printConnectionListeners()
    • addStatementEventListener

      public void addStatementEventListener(StatementEventListener sel)
    • removeStatementEventListener

      public void removeStatementEventListener(StatementEventListener sel)
    • printStatementListeners

      public void printStatementListeners()
    • initStatementCache

      public void initStatementCache(GooGooStatementCache scache)
    • getStatementCache

      public GooGooStatementCache getStatementCache()
    • markCursorNameSet

      public void markCursorNameSet(Object pstmt)
    • markCloseOnCompletionSet

      public void markCloseOnCompletionSet(Object pstmt)
    • markQueryTimeoutUpdatedFrom

      public void markQueryTimeoutUpdatedFrom(Object pstmt, int from)
    • markFetchDirectionUpdatedFrom

      public void markFetchDirectionUpdatedFrom(Object pstmt, int from)
    • markFetchSizeUpdatedFrom

      public void markFetchSizeUpdatedFrom(Object pstmt, int from)
    • markMaxFieldSizeUpdatedFrom

      public void markMaxFieldSizeUpdatedFrom(Object pstmt, int from)
    • markMaxRowsUpdatedFrom

      public void markMaxRowsUpdatedFrom(Object pstmt, long from)