So I think Clinton answerd your question there, so done!?
.V

josh wrote:
vic,

I have moved everything to the Ibatis forum.  You are right, the
discussion has very little struts specific information unless someone
else is interested in the discussion about plugins or how to properly
manage the db connection (of which I could use some guidance)

I posted my reply to your last email in the forum.

-josh

On Tue, 2004-07-27 at 18:33, Vic Cekvenich wrote:

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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to