Hello,
I need one more help. Here is my code,
String str="insert into sam.Stud values(1,'Sivagururaja')";
Statement st=con.createStatement();
int PatientRowsUpdated = st.executeUpdate(str);
if(PatientRowsUpdated>0)
{
System.out.println('Inserted Successfully');
}
Using the above code, i know whether the record is getting inserted or not.
Now i'm going to use the stored procedure. Is it possible to check whether
the record
is inserted or not. If yes, Can you please tell me, where should i write the
code.
Should i use one OUT parameter for the status or it can be achieved through
my java method something
like the above.
Thanks in advance.
--
View this message in context:
http://www.nabble.com/Derby-Stored-Procedure-Help%21-tp23021611p23039989.html
Sent from the Apache Derby Users mailing list archive at Nabble.com.