What I want to do is just throw an exception in HSQL 2.0.
As in Oracle, we can use: .... EXCEPTION WHEN OTHER THEN raise_application_error (XXX) ....
After reading the official HSQL documentation and trying what I can imagine, I still do not understand.
Is there anyone who can give a suggestion? Thanks!
source share