[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6899) Remove generated Id from object on failed flush
Marcel Hoerr (JIRA)
noreply at atlassian.com
Thu Dec 15 07:27:19 EST 2011
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
More information about the hibernate-issues
mailing list