posted 16 years ago
I am developing a jsp intranet site to communicate with Sybase 12.0. I have an assumption that I need verified. If I perform a stored procedure and it fails, will Sybase throw a SQLException in all cases? Assume that the stored procedure never returns a user-defined return code. I need to determine if I will ever need to look at the return code in the stored procedure to see if it was successful, or if I can assume if the stored procedure fails that it will always throw a java.sql.SQLException. Can someone please verify? If you know of documentation regarding this issue, please also include a link.