cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject RE: SQL taglib
Date Tue, 11 Apr 2000 17:20:56 GMT
On Tue, 11 Apr 2000, Henning von Bargen wrote:

> > > > 3) Can you call stored procedures that update data from SQL taglib in
> X=
> > SP?
> > >=20
> > > I don't know and right now I've got no time to test it - sorry :-(
> > anything you can call via st.executeQuery(...) you can call via the SQL
> taglib.
> > 
> > - donald
> 
> Hmm... I'm not sure about this, but doesn't executeQuery work only for
> statements which generate a ResultSet? Whereas a simple
> update-statement (for example) surely doesn't generate a resultset and
> would be executed with st.execute(...) Perhaps one could add a
> variable which tells the SQL taglib if it should just execute or
> executeQuery and render the ResultSet

yes, there should be an option in all three codebases to executeUpdate
instead - SQLProcessor lets you do that by setting an
update-rows-attribute attribute, but it's poorly documented at best.

- donald


Mime
View raw message