Fix issue ORA-04020: deadlock detected while trying to lock object on KREW_APP_DOC_STAT_TRAN_T