Package org.datanucleus.store.rdbms.datasource.dbcp.pool.impl

Examples of org.datanucleus.store.rdbms.datasource.dbcp.pool.impl.GenericKeyedObjectPoolFactory


        // create a pool for our connections
        createConnectionPool();

        // Set up statement pool, if desired
        GenericKeyedObjectPoolFactory statementPoolFactory = null;
        if (isPoolPreparedStatements()) {
            statementPoolFactory = new GenericKeyedObjectPoolFactory(null,
                        -1, // unlimited maxActive (per key)
                        GenericKeyedObjectPool.WHEN_EXHAUSTED_FAIL,
                        0, // maxWait
                        1, // maxIdle (per key)
                        maxOpenPreparedStatements);
View Full Code Here

TOP

Related Classes of org.datanucleus.store.rdbms.datasource.dbcp.pool.impl.GenericKeyedObjectPoolFactory

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.