ERROR: prepared transaction does not exist in postgresql
I am getting the following error in PostgreSQL log (9.2) when running a Java EE application with JPA over Hibernate:
ERROR: prepared with the transaction identifier "131077_AAAAAAAAAAAAAP // fwAAAd5tKPBVp1XeAAAzfmx0Y2hpZS1ub2Rl_AAAAAAAAAAAP // fwAAAd5tKPBVp1XeAAAzpwAAAAAAAAAA" does not exist STATEMENT: ROLLBACK PREPARED '131077_AAAAAAAAAAAAAP // fwAAAd5tKPBVp1XeAAAzfmx0Y2hpZS1ub2Rl_AAAAAAAAAAAAAP // fwAAAd5tKPBVp1XeAAAzpwAAAAAAAAAA'
How can I optimize my settings to avoid this error? This happens intermittently.
+4
source to share