Application Deadlock
Recently I received a deadlock message from BRM, but I am not sure how
to reproduce it. After digging to Oracle database I found a deadlock
created in alert log as follows:
select bal_grp_t.poid_DB, bal_grp_t.poid_ID0, bal_grp_t.poid_TYPE, bal_grp_t.poid_REV, bal_grp_t.account_obj_DB, bal_grp_t.account_obj_ID0, bal_grp_t.account_obj_TYPE, bal_grp_t.account_obj_REV, bal_grp_t.billinfo_obj_DB, bal_grp_t.billinfo_obj_ID0, bal_grp_t.billinfo_obj_TYPE, bal_grp_t.billinfo_obj_REV, bal_grp_t.effective_t, bal_grp_bals_t.rec_id, bal_grp_bals_t.reserved_amount, bal_grp_bals_t.next_bal, bal_grp_bals_t.credit_profile, bal_grp_bals_t.consumption_rule, bal_grp_t.realtime_cntr from bal_grp_t, bal_grp_bals_t where bal_grp_t.poid_id0 = :1 and bal_grp_t.poid_id0 = bal_grp_bals_t.obj_id0 order by bal_grp_bals_t.rec_id for update of bal_grp_t.poid_id0
select bal_grp_t.poid_DB, bal_grp_t.poid_ID0, bal_grp_t.poid_TYPE, bal_grp_t.poid_REV, bal_grp_t.account_obj_DB, bal_grp_t.account_obj_ID0, bal_grp_t.account_obj_TYPE, bal_grp_t.account_obj_REV, bal_grp_t.billinfo_obj_DB, bal_grp_t.billinfo_obj_ID0, bal_grp_t.billinfo_obj_TYPE, bal_grp_t.billinfo_obj_REV, bal_grp_t.effective_t, bal_grp_bals_t.rec_id, bal_grp_bals_t.reserved_amount, bal_grp_bals_t.next_bal, bal_grp_bals_t.credit_profile, bal_grp_bals_t.consumption_rule, bal_grp_t.realtime_cntr from bal_grp_t, bal_grp_bals_t where bal_grp_t.poid_id0 = :1 and bal_grp_t.poid_id0 = bal_grp_bals_t.obj_id0 order by bal_grp_bals_t.rec_id for update of bal_grp_t.poid_id0
0