commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip, Anil [ITS]" <>
Subject RE: [DBUtils] newbie qs
Date Wed, 21 Apr 2004 21:32:54 GMT

Anil Philip
EWS, Sprint (PCS)
phone: (913) 794 5682
jabber id:

-----Original Message-----
From: Jaime Garza [] 
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...

GenericObjectPool connectionPool = new GenericObjectPool(null);
DriverManagerConnectionFactory connectionFactory = new
DriverManagerConnectionFactory("jdbc:hsqldb:data/generation", "sa", "");
PoolableConnectionFactory poolableConnectionFactory = new
PoolableConnectionFactory(connectionFactory, connectionPool,
null,null,false,true); DataSource dataSource = new

And after that the datasource serves connections, supposedly pooled. It
worked for me...  Never tried dbutils tho.

- Jaime

-----Original Message-----
From: Philip, Anil [ITS] [] 
Sent: Tuesday, April 20, 2004 4:11 PM
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.

Anil Philip
Overland Park, KS

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message