tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Magnus Jansson" <Ad...@vaddo.fhsk.se>
Subject newbie question about stored procedures
Date Fri, 11 Jan 2002 08:49:32 GMT
How do I call stored procedures
I think I have to use the CallableStatement but how do I use it?????

I've done this so far. Is this right and how do I execute the statement? 
How do I check if it is a error?
how do I start a new transaction and commit/rollback it afterwards????

MyStatement = Conn.CallableStatement("UPDATE_MATSEDEL");
MyStatement(request.getParameter("MandagLunchUID"), request.getParameter("MandagLunchText"),
request.getParameter("MandagLunchDatum"), IsVegoString, 1);




--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message