commons-user mailing list archives

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

  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.


  Thanks,
   snk


---------------------------------------------------------------------
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