DBA > Job Interview Questions > DERBY Java Database FAQs

What is User-Defined SQLExceptions ?

More DBA job interview questions and answers at http://dba.fyicenter.com/Interview-Questions/

(Continued from previous question...)

What is User-Defined SQLExceptions ?

When the execution of a database-side method raises an error, Derby wraps that exception in an SQLException with an SQLState of 38000. You can avoid having Derby wrap the exception if:

* the exception is an SQLException
* the range of the SQLState is 38001-38999
(This conforms to the SQL99 standard.)

(Continued on next question...)

Other Job Interview Questions