Package oracle.jdbc.pool

Examples of oracle.jdbc.pool.OracleConnectionCacheImpl


        super(jdbcURL, user, passwd);
        this.initConnectionCount = connectionLimit > 1 ? connectionLimit : 10;
    }

    protected void myInitPool() throws SQLException {
        ocpds = new OracleConnectionCacheImpl();
        ocpds.setURL( getJdbcURL() );
        ocpds.setUser( getUserId() );
        ocpds.setPassword( getUserPwd() );
        ocpds.setMaxLimit( this.initConnectionCount );
        // to resolve a rowset bug; http://developer.java.sun.com/developer/bugParade/bugs/4625851.html
View Full Code Here


        super(jdbcURL, user, passwd);
        this.initConnectionCount = connectionLimit > 1 ? connectionLimit : 10;
    }

    protected void myInitPool() throws SQLException {
        ocpds = new OracleConnectionCacheImpl();
        ocpds.setURL( getJdbcURL() );
        ocpds.setUser( getUserId() );
        ocpds.setPassword( getUserPwd() );
        ocpds.setMaxLimit( this.initConnectionCount );
        // to resolve a rowset bug; http://developer.java.sun.com/developer/bugParade/bugs/4625851.html
View Full Code Here

        // NumberFormatException
        System.setProperty("oracledatabasemetadata.get_lob_precision", "false");
        this.initializeConnectionCacheDataSrc();

        // Initialize the Connection Cache
        ocacheimpl = new OracleConnectionCacheImpl(cpds);
        ocacheimpl.setMaxLimit(this.initConnectionCount <= 3 ? 3 : this.initConnectionCount);
        ocacheimpl.setMinLimit(this.initConnectionCount / 4 <= 3 ? 3 : this.initConnectionCount / 4);

        // Set Caching Scheme as DYNAMIC_SCHEME
        // Caching Schema means that once the connection active size becomes 5,
View Full Code Here

TOP

Related Classes of oracle.jdbc.pool.OracleConnectionCacheImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.