我试图在我的代码中捕获一个ORA-01013异常,但它在捕获的异常中没有以正确的顺序出现。数据库中有一个Trigger,每当SERVERRROR发生在我们的Oracle数据库中时,它都会触发和记录。ORA-06502: PL/SQL: numeric or value error: character string buffer too smallORA-01013: user requested cancel of current operation // Want this
我想
但是我得到了一个通用的SQLException,错误代码为ORA-01013。我正在寻找一个DB独立的方式来处理超时。检查特定于DB的错误代码在这方面可能没有帮助。myStatement.setQueryTimeout(1);java.sql.SQLException: ORA-01013: user requested cancel of currentjava.sql.SQLException: ORA-01013: user requested cancel of current operatio
ORA-07445%[kkqctdrvJPPDORA-01013%ORA-01110V$DIAG_ALERT_EXTORA-01013: user requested cancel of current operation
ORA-07445: exception encountered: core dump [kxtogboh