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
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
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
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
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
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
6 matches
Mail list logo