| A workaround would be appreciated. My organization is using Hibernate as our ORM in a REST API, while programming to the JPA spec (no Hibernate specific code). Our current workaround is to send the exception in the response, and have the client resend the request. As general rule, we avoid updating the DB records directly, and rely on managed entities within a transaction. |