Documentation of 'org.apache.derby.jdbc.BasicClientConnectionPoolDataSource40' Java class
BasicClientConnectionPoolDataSource40
org.apache.derby.jdbc

Class BasicClientConnectionPoolDataSource40

    • Constructor Detail

      • BasicClientConnectionPoolDataSource40

        public BasicClientConnectionPoolDataSource40()
    • Method Detail

      • getPooledConnection

        public javax.sql.PooledConnection getPooledConnection()
                                                       throws java.sql.SQLException
        Specified by:
        getPooledConnection in interface javax.sql.ConnectionPoolDataSource
        Throws:
        java.sql.SQLException
        See Also:
        ConnectionPoolDataSource.getPooledConnection()
      • getPooledConnection

        public javax.sql.PooledConnection getPooledConnection(java.lang.String user,
                                                              java.lang.String password)
                                                       throws java.sql.SQLException
        Specified by:
        getPooledConnection in interface javax.sql.ConnectionPoolDataSource
        Throws:
        java.sql.SQLException
        See Also:
        ConnectionPoolDataSource.getPooledConnection( java.lang.String, java.lang.String)
      • setMaxStatements

        public void setMaxStatements(int maxStatements)
        Specifies the maximum size of the statement cache.
        Specified by:
        setMaxStatements in interface ClientConnectionPoolDataSourceInterface
        Parameters:
        maxStatements - maximum number of cached statements
        Throws:
        java.lang.IllegalArgumentException - if maxStatements is negative
      • getMaxStatements

        public int getMaxStatements()
        Returns the maximum number of JDBC prepared statements a connection is allowed to cache.
        Specified by:
        getMaxStatements in interface ClientConnectionPoolDataSourceInterface
        Returns:
        Maximum number of statements to cache, or 0 if caching is disabled (default).

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.