Re: OT: Re: ibatis and jndi pooling

2004-07-28 Thread Vic Cekvenich
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 co

Re: OT: Re: ibatis and jndi pooling

2004-07-28 Thread josh
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

OT: Re: ibatis and jndi pooling

2004-07-27 Thread Vic Cekvenich
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 go

Re: ibatis and jndi pooling

2004-07-27 Thread josh
vic, thanks for the reply. let me clarify my problem. When I create a connection to the db using connection pooling (as illustrated in my first email) I could do something like the following... Connection conn = ds.getConnection(); ... use this connection to access the database ... conn.close

Re: ibatis and jndi pooling

2004-07-27 Thread Vic Cekvenich
josh wrote: I am trying to figure out how to use sqlmaps and struts. Before sqlMaps I would create a connection to the database using a plugin. In my init() I did something like this this.ds = (DataSource) context.lookup("java:comp/env/" + lookupString); This gave me a datasource object that I co

ibatis and jndi pooling

2004-07-27 Thread josh
I am trying to figure out how to use sqlmaps and struts. Before sqlMaps I would create a connection to the database using a plugin. In my init() I did something like this this.ds = (DataSource) context.lookup("java:comp/env/" + lookupString); This gave me a datasource object that I could use fo