How do I get Sybase ASE to throw an error that Java can catch?
Posted on 2014-11-14
Good Morning All,
I am in need of some expert advice. My environment is set up as follows:
Database: Sybase ASE 15.7, Open Client 15
Language: Java 1.7.0_45
I have a stored procedure that is raising an error but java is not catching it. Is there any way that I can force it. I see ways to do this in other databases but nothing for Sybase.
I am performing a batch update using prepared statements and the update being called to perform the update is where the raiserror is thrown.