struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From josh <j...@ink.org>
Subject Re: OT: Re: ibatis and jndi pooling
Date Wed, 28 Jul 2004 13:53:53 GMT
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: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
-- 
Joshua Cronemeyer
Developer
accessKansas - a service of the Information Network of Kansas, Inc.
www.accesskansas.org <http://www.accesskansas.org/>
785-296-2816 (phone)
785-296-5563 (fax)
josh@ink.org <mailto:josh@ink.org>

***********************
CONFIDENTIALITY NOTICE:
This E-mail and any attachments are confidential.  If you are not the
intended recipient, you do not have permission to disclose, copy,
distribute, or open any attachments.  If you have received this E-mail
in
error, please notify us immediately by returning it to the sender and
delete
this copy from your system.

Thank you.
accessKansas
***********************


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message