Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 84866 invoked from network); 21 Apr 2004 21:33:23 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 21 Apr 2004 21:33:23 -0000 Received: (qmail 77727 invoked by uid 500); 21 Apr 2004 21:32:52 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 77650 invoked by uid 500); 21 Apr 2004 21:32:50 -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 77608 invoked from network); 21 Apr 2004 21:32:49 -0000 Received: from unknown (HELO mail18-red-R.bigfish.com) (216.148.222.61) by daedalus.apache.org with SMTP; 21 Apr 2004 21:32:49 -0000 Received: from mail18-red.bigfish.com (localhost.localdomain [127.0.0.1]) by mail18-red-R.bigfish.com (Postfix) with ESMTP id 49F6728F602 for ; Wed, 21 Apr 2004 21:32:55 +0000 (UCT) Received: by mail18-red (MessageSwitch) id 1082583175278303_21632; Wed, 21 Apr 2004 21:32:55 +0000 (UCT) Received: from smtpgw6.it.sprintspectrum.com (smtpgw6.sprintspectrum.com [207.40.188.14]) by mail18-red.bigfish.com (Postfix) with ESMTP id 1477E28F5F5 for ; Wed, 21 Apr 2004 21:32:55 +0000 (UCT) Received: from mailhost.sprintspectrum.com (smtpgw8.it.sprintspectrum.com [207.40.65.56]) by smtpgw6.it.sprintspectrum.com (8.12.11.Beta0/8.12.8) with ESMTP id i3LLWt32007460 for ; Wed, 21 Apr 2004 16:32:55 -0500 (CDT) Received: from PKDWG02A.ad.sprint.com (PKDWG02A.corp.sprint.com [10.185.12.80]) by mailhost.sprintspectrum.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id i3LLWsO09043 for ; Wed, 21 Apr 2004 16:32:54 -0500 (CDT) Received: from pdawb04c.ad.sprint.com ([10.184.134.36]) by PKDWG02A.ad.sprint.com with Microsoft SMTPSVC(5.0.2195.6713); Wed, 21 Apr 2004 16:32:55 -0500 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: Wed, 21 Apr 2004 16:32:54 -0500 Message-ID: <23316DCF435F8D4BBFBFCD9B9C8647C705793EDA@PDAWB04C.ad.sprint.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [DBUtils] newbie qs Thread-Index: AcQnLMJACb9fmLd7SXSwLMJdW3udfQADUiIAACuInrA= From: "Philip, Anil [ITS]" To: "Jakarta Commons Users List" X-OriginalArrivalTime: 21 Apr 2004 21:32:55.0096 (UTC) FILETIME=[35288380:01C427E8] X-BigFish: vc 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 Thanks! Anil Philip EWS, Sprint (PCS) phone: (913) 794 5682 jabber id: AnilPhilip01@jabber10.dev.sprint.com -----Original Message----- From: Jaime Garza [mailto:Jaime.Garza@newScale.com]=20 Sent: Tuesday, April 20, 2004 7:50 PM To: Jakarta Commons Users List Subject: RE: [DBUtils] newbie qs 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 --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org