Oracle Error Message
ORA-24775: cannot prepare or commit transaction with non-zero lock value
Reason for the Error
An attempt was made to detach the transaction with a non-zero lock value.
Solution
Detach the transaction with lock value set to zero and then try to prepare or commit the transaction.