[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2439) delay IDENTITY insertions in the case of FlushMode.MANUAL/NEVER

Steve Ebersole (JIRA) noreply at atlassian.com
Wed Feb 28 09:08:31 EST 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2439?page=comments#action_26338 ] 

Steve Ebersole commented on HHH-2439:
-------------------------------------

Certainly the spec describes how persist() makes the entity become managed.  However, please point me to the section that details how "an entity instance has an assigned identifier value if it is in managed state".  

I seriously doubt you find that section.  Because what you are really saying is that you interpret "an entity in managed state" as meaning that "an entity instance has an assigned identifier value".  But that is not necessarily the case.  Again, please point me to the spec section that backs up this interpretation.


> delay IDENTITY insertions in the case of FlushMode.MANUAL/NEVER
> ---------------------------------------------------------------
>
>          Key: HHH-2439
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2439
>      Project: Hibernate3
>         Type: Improvement

>   Components: core
>     Reporter: Steve Ebersole
>     Assignee: Steve Ebersole
>      Fix For: 3.2.3

>
>
> Much like we do now in 3.2 for out of transaction operations, we should delay performing insertions for post-insert generators with FlushMode.isManualFlushMode

-- 
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.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




More information about the hibernate-issues mailing list