josh wrote: I just get a reference to the datasource and close it in
the destroy method of the plugin.
Let me ask why do you get a reference to datasource in SqlMaps?
You can do ANYTHING with just:
List rows =_sqlMap.queryForList("mapNam", parms);
(also... the iBatis forum is VERY good and VERY active and we might want to move the thread there)
.V
If I don't do this, and my
application gets reloaded many times, then I leave behind many connections to the DB forcing me to bring down tomcat in order to close them (for my DB admin who gets irate).
It makes me think that I am not doing something at the server level that I should be doing. Any ideas?
cheers, josh On Tue, 2004-07-27 at 14:31, Vic Cekvenich wrote:
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]