Interface OracleConnectionPoolDataSource

    • Method Detail

      • getPooledConnection

        javax.sql.PooledConnection getPooledConnection()
                                                throws java.sql.SQLException
        Attempts to establish a database connection.
        Specified by:
        getPooledConnection in interface javax.sql.ConnectionPoolDataSource
        Returns:
        A PooledConnection to the database
        Throws:
        java.sql.SQLException - if a database-access error occurs.
      • getPooledConnection

        javax.sql.PooledConnection getPooledConnection​(java.lang.String user,
                                                       java.lang.String passwd)
                                                throws java.sql.SQLException
        Attempts to establish a database connection.
        Specified by:
        getPooledConnection in interface javax.sql.ConnectionPoolDataSource
        Parameters:
        user - The database user on whose behalf the Connection is being made.
        passwd - The user's password
        Returns:
        a PooledConnection to the database
        Throws:
        java.sql.SQLException - if a database-access error occurs.