assume i am doing this
query= "exec <stored proc name>"
stmt.execute(query)
now, this is a single line stored proc.
...
begin
raiseerror 100001
end
...
...
how do i catch this raiseerror thing back in java ?
i tried catching SQLException but
raiseerror is not wrapped into SQLException.
can someone help me with this ?
thanks.