A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
How to catch sybase raiseerror in java ?
Joined: Feb 14, 2005
Jan 22, 2007 14:44:00
assume i am doing this
query= "exec <stored proc name>"
now, this is a single line stored proc.
how do i catch this raiseerror thing back in
i tried catching
raiseerror is not wrapped into
can someone help me with this ?
Joined: Apr 26, 2004
Jan 24, 2007 00:27:00
set nocount on in the sp.
The error code should now be in the resultset on the statement.
perform a ResultSet.next() and getInt()
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: How to catch sybase raiseerror in java ?
getting ResultSet from Java Stored Procedure
Calling COBOL stored proc from Java Servlet
Oracle stored procedures
Difference detween execute() and executeUpdate()..?
How to handle RAISEERROR in Sybase using JDBC
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014