commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Algirdas M." <>
Subject DBCP and Servlet
Date Sat, 20 Mar 2004 17:25:31 GMT

  I'm using DBCP in Servlets.

  My Connection from DataSource is a static variable.
  I need it static, because then I can get database connection
  everywhere in my objects.

  So, question is, should I close that static database connection
  after web page request end or not?
  I just want, that the database pooling worked correctly.


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

View raw message