My problem description is to generate a User Defined SQLException. Here is a look
Let's suppose at any time in Stored Procedure I need to raise a user defined Exception and then in catch block of Stored Procedure we are catching it and handling it, now if we want to propagate the same exception with same message to the JAVA side, how can we do it.
Because whenever we try to raise the same exception to java side from Stored Procedure it is getting automatically packed in SQLException.
Now is there any way out, through which we can make our own exception and can directly catch it from Stored Procedure in JAVA without using SQLException. And how we need to map that exception with Oracle's Stored Procedure.
The Best way to predict your future is to create it