[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4676?page=c...
]
Hardy Ferentschik resolved HHH-4676.
------------------------------------
Resolution: Fixed
Ended up to change {{convert(RuntimeException e)}} to not only mark transactions for
rollback for {{ConstraintViolationException}}s, but generally for all
{{RuntimeException}}s. Tried initially to refactor the exception handling by getting rid
of {{convert(HibernateException e)}} as suggested by the todo, but ended up with other
problems. For now the problem is fixed in this simple way. In the future we might want to
revisit the exception handling though.
Any interceptor exception (RTE) should mark the tx for rollback
---------------------------------------------------------------
Key: HHH-4676
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4676
Project: Hibernate Core
Issue Type: Sub-task
Components: entity-manager
Reporter: Emmanuel Bernard
Assignee: Hardy Ferentschik
Fix For: 3.5.0-CR-2
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira