Remove generated Id from object on failed flush
-----------------------------------------------
Key: HHH-6899
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-6899
Project: Hibernate Core
Issue Type: Task
Components: core
Affects Versions: 4.0.0.Final, 3.6.7
Environment: Hibernate 3.6.7, Oracle 11, DB2 9.7
Reporter: Marcel Hoerr
Hibernate should remove ids (generated by sequences) from objects, when the flush on this
object has failed. The current behavior (keep the id) is costly, if you want to reuse the
object after a failed flush, e.g. after a ConstraintViolationException.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira