Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 14617 invoked from network); 21 Apr 2004 01:07:34 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 21 Apr 2004 01:07:34 -0000 Received: (qmail 19957 invoked by uid 500); 21 Apr 2004 01:07:11 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 19934 invoked by uid 500); 21 Apr 2004 01:07:11 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 19921 invoked from network); 21 Apr 2004 01:07:11 -0000 Received: from unknown (HELO CMAIL.celosis.com) (67.95.209.66) by daedalus.apache.org with SMTP; 21 Apr 2004 01:07:11 -0000 X-MIMEOLE: Produced By Microsoft Exchange V6.0.6487.1 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: [DBUtils] newbie qs Date: Tue, 20 Apr 2004 17:49:58 -0700 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [DBUtils] newbie qs Thread-Index: AcQnLMJACb9fmLd7SXSwLMJdW3udfQADUiIA From: "Jaime Garza" To: "Jakarta Commons Users List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I have used a combination of commons DBCP and commons pool before. Here is an example, with a different driver... Class.forName("org.hsqldb.jdbcDriver"); GenericObjectPool connectionPool =3D new GenericObjectPool(null); DriverManagerConnectionFactory connectionFactory =3D new DriverManagerConnectionFactory("jdbc:hsqldb:data/generation", "sa", ""); PoolableConnectionFactory poolableConnectionFactory =3D new PoolableConnectionFactory(connectionFactory, connectionPool, null,null,false,true); DataSource dataSource =3D new PoolingDataSource(connectionPool); And after that the datasource serves connections, supposedly pooled. It worked for me... Never tried dbutils tho. - Jaime -----Original Message----- From: Philip, Anil [ITS] [mailto:aphili01@sprintspectrum.com]=20 Sent: Tuesday, April 20, 2004 4:11 PM To: commons-user@jakarta.apache.org Subject: [DBUtils] newbie qs I am simply looking for a library to connect to Oracle, (with connection pooling ability) that is easy to use but performs decently... I was directed to dbutils. Are there basic complete examples or a manual? This page does not explain much.=20 http://jakarta.apache.org/commons/dbutils/examples.html thanks, Anil Philip Overland Park, KS --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org