4 Replies Latest reply on Apr 13, 2011 10:50 PM by William Robertson

    How to recognize user-defined exception with JDBC?

    xerces8
      declare
      x exception;
      begin 
       raise x;
      end;
      When calling this (or a similar stored procedure) with JDBC*, I get just a general java.sql.SQLException: ORA-06510: PL/SQL: unhandled user-defined exception

      Is there a way to get more information about the exception?
      So the client code can tell one from other.


      * Spring JDBC actually