title: ERROR: prepared transaction does not exist in postgresql
body: <p>I am getting following error in PostgreSQL (9.2) log while running Java EE application with JPA over Hibernate:</p>
  
  <blockquote>
    <p>ERROR:  prepared transaction with identifier "131077_AAAAAAAAAAAAAP//fwAAAd5tKPBVp1XeAAAzfmx0Y2hpZS1ub2Rl_AAAAAAAAAAAAAP//fwAAAd5tKPBVp1XeAAAzpwAAAAAAAAAA" does not exist
    STATEMENT:  ROLLBACK PREPARED '131077_AAAAAAAAAAAAAP//fwAAAd5tKPBVp1XeAAAzfmx0Y2hpZS1ub2Rl_AAAAAAAAAAAAAP//fwAAAd5tKPBVp1XeAAAzpwAAAAAAAAAA'</p>
  </blockquote>
  
  <p>How can I optimize settings to avoid this error? This occurs intermittently.</p>