Christoph Zwerschke wrote:
If you are using SQLObject, it handles the connections for you.
I haven't tried out SQLObject so far, but that sounds like I should give
it a try. How does this work? Does it use a connection pool?
Yep. BTW, in SQLObject 2 / sqlapi I actually am borrowing some code
from DBUtils to split the pooling out into a separate layer:
http://svn.sqlobject.org/sqlapi/trunk/sqlapi/connect
Though I haven't figured out quite how it should work. For instance,
SQLite connections can't be pooled, they need to be allocated
per-thread. And I'm not sure if pooling is generally good or not --
per-thread connections seem a bit safer and otherwise just as good.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Webware-discuss mailing list
Webware-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-discuss