org.postgresql.util.PSQLException: ERROR: update or delete on table "m_locator" violates foreign key constraint "mlocator_minventorycount" on table "m_transaction"
Detail: Key (m_locator_id)=(1000011) is still referenced from table "m_transaction".; State=23503; ErrorCode=0
Automated exception search integrated into your IDE
Root Cause Analysis
ERROR: could not serialize access due to read/write dependencies among transactions
Detail: Reason code: Canceled on commit attempt with conflict in from prepared pivot.
Hint: The transaction might succeed if retried.