[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2439) delay IDENTITY insertions in the case of FlushMode.MANUAL/NEVER
Christian Bauer (JIRA)
noreply at atlassian.com
Wed Feb 28 09:24:31 EST 2007
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2439?page=comments#action_26339 ]
Christian Bauer commented on HHH-2439:
--------------------------------------
3.2, second item: "A managed entity instance is an instance with a persistent identity that is currently associated with a persistence context."
Then, 3.2.1 states that an entity instance becomes managed when persist() is invoked.
Of course you can interpret "with a persistent identity" as some obscure fact that is half-defned elsewhere (e.g. how it is used to define merging: "with the same persistent identity"), but most people would say "that means that the identifier value is not null".
> 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