commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kenny Smith <>
Subject Re: Newbie question
Date Tue, 04 Mar 2003 16:28:39 GMT
Hi Stefan,

The DBCP javadocs have some code that describes how to do it, but it 
doesn't compile out of the box... I've attached some simple code that 
should at least get you close. You'll need to edit it to add your JDBC 
connect string and user/pass, etc.

I prefer using the jocl solution, where you put an xml config file in 
your classpath and just reference that, but it's better to get the 
programmatic version working first, so you don't introduce too many 
problems at once.

Feel free to ask any questions,
Kenny Smith

View raw message