JSTERROR:由于用户请求而取消声明

时间:2016-11-16 14:05:50

标签: database postgresql jdbc

导致错误的原因是什么?

2016-11-16 00:30:10.022 JSTERROR: canceling statement due to user request
2016-11-16 00:30:10.022 JSTCONTEXT: SQL statement "update login_history set remarks = current_timestamp where picked_status = 'NOTPICKED'"
PL/pgSQL function get_charge_history(character varying) line 17 at SQL statement
2016-11-16 00:30:10.022 JSTSTATEMENT: select parentcust,chargetrxid,updateddate,commandtxid,mvn oid,customerid,extraplanid,baseplanid,oldbaseplan_ id,asvolume,asprice,chargetype,updatedremarks from get_charge_history($1)

2016-11-16 00:40:10.018 JSTERROR: canceling statement due to user request
2016-11-16 00:40:10.018 JSTCONTEXT: SQL statement "update loginn_history set remarks = current_timestamp where picked_status = 'NOTPICKED'"
PL/pgSQL function get_charge_history(character varying) line 17 at SQL statement
2016-11-16 00:40:10.018 JSTSTATEMENT: select parentcust,chargetrxid,updateddate,commandtxid,mvn oid,customerid,extraplanid,baseplanid,oldbaseplan_ id,asvolume,asprice,chargetype,updatedremarks from get_charge_history($1)

由于选择和更新操作同时发生,是否发生了上述情况?什么可以解决这个问题呢?

0 个答案:

没有答案