Stored Procedures Exceptions

rmarrugo

New Member
Hi everyone,

Im starting to work with Stored Procedures and i havent found a way to handle Exceptions the way i want. when i throw an Exception into a "catch" block like this:
DhSQLException SQLExc = new DhSQLException(5,new String("error!"));
try{
.....
}catch (DhSQLException e){
throw SQLExc;
}
this doesnt show the message, only shows the error code, in this case "5". Another thing, i dont know how to set the Transaction Isolation Level (Committed or Uncommitted Read) and how to set the Auto Commit to true or false.

Any help to these topics ill thank.
 
Back
Top