commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Durham David Contr 805 CSS/SCBE" <David.Durh...@scott.af.mil>
Subject RE: DBCP options
Date Tue, 20 May 2003 17:34:00 GMT
If I'm reading these docs correctly, Jdbc2PoolDataSorce is a wrapper for javax.sql.ConnectionPoolDataSource
to allow min, max connections as well as hooks for validating connections?

Very helpful indeed.  Thanks.

Dave


> -----Original Message-----
> From: Matthew Denson [mailto:mdenson@dayspring-tech.com]
> Sent: Tuesday, May 20, 2003 12:05 PM
> To: 'Jakarta Commons Users List'
> Subject: RE: DBCP options
> 
> 
> Hi Dave,
> 
> I just worked through this so I'll post a few links.  The 
> code is in CVS
> which has a browser that works great look here:
> http://cvs.apache.org/viewcvs.cgi/jakarta-commons/dbcp/src/jav
> a/org/apac
> he/commons/dbcp/
> 
> [To maintainer:  The Source (Browse) link on the project page
> (http://jakarta.apache.org/commons/dbcp/) points to 
> commons-pool.  Minor
> but initially confusing.]
> 
> I would recommend using the Jdbc2PoolDataSource which is in 
> common-dbcp
> after version 1.0.  The API page for that package
> http://jakarta.apache.org/commons/dbcp/apidocs/org/apache/comm
> ons/dbcp/j
> dbc2pool/package-summary.html is very helpful.  If you want other help
> let me know I got something to work that is very similar to your
> situation for Oracle8i.
> 
> [To maintainer:  The API Documentation link in the sidebar 
> works but the
> one in the main body does not.]
> 
> BTW the latest binary version I could find was in the Struts1.1rc1
> binary download.  The were some differences between the documentation
> and the version 1.0 binary download that is available on the main
> project page.
> 
> Hope this helps,
> Matthew
> 
> -----Original Message-----
> From: Durham David Contr 805 CSS/SCBE
> [mailto:David.Durham1@scott.af.mil] 
> Sent: Tuesday, May 20, 2003 8:26 AM
> To: Jakarta Commons Users List
> Subject: RE: DBCP options
> 
> 
> Ok, feel free to laugh at my expense for that question.  Let 
> me describe
> what I'm doing.
> 
> I want to use DBCP ... duh.  However, I don't want to use JOCL, or
> rather, don't know how and don't know if it's appropriate for what I'm
> trying to do.
> 
> I have a class, ConnectionManager, with a getConnection() 
> static method,
> that uses a properties file that I have created.  I'm referencing this
> method all over my business classes, and don't want to recode these
> classes.  So, I need to manually create the pool and initialize
> max/min/validate query ... but don't see any good 
> documentation on this.
> I looked at the examples, which are minimal and don't even mess with
> max/min/validate query.  I see JOCL in source repository, but 
> don't see
> any docs.  
> 
> Do I need to say more?  I can post my code, but it's pretty much
> straight out of the examples.
> 
> Thanks,
> 
> Dave
> 
> 
> 
> 
> 
> > -----Original Message-----
> > From: Durham David Contr 805 CSS/SCBE
> > Sent: Tuesday, May 20, 2003 9:33 AM
> > To: commons-user@jakarta.apache.org
> > Subject: DBCP options
> > 
> > 
> > Is there a list of the property keys (with description) for
> > DriverManagerConnectionFactory?  Source code?
> > 
> > Thanks,
> > 
> > David Durham
> > 
> > 
> ---------------------------------------------------------------------
> > 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
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 
> 

Mime
View raw message