[hibernate-issues] [Hibernate-JIRA] Issue Comment Edited: (HHH-7206) Manage natural-id synchronization without flushing
Steve Ebersole (JIRA)
noreply at atlassian.com
Mon Apr 2 13:18:48 EDT 2012
[ https://hibernate.onjira.com/browse/HHH-7206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46146#comment-46146 ]
Steve Ebersole edited comment on HHH-7206 at 4/2/12 12:17 PM:
--------------------------------------------------------------
Another issue here is that the propsed change is updating the second level cache very prematurely. Basically it is "bleeding" un-written and un-committed changes from the session into the second level cache for other sessions to see.
was (Author: steve):
Another issue here is that the propsed change is locking the second level cache very prematurely.
> Manage natural-id synchronization without flushing
> --------------------------------------------------
>
> Key: HHH-7206
> URL: https://hibernate.onjira.com/browse/HHH-7206
> Project: Hibernate ORM
> Issue Type: Improvement
> Components: core
> Affects Versions: 4.1.1
> Environment: Hibernate4, database-independent
> Reporter: Guenther Demetz
> Labels: flush, naturalId
>
> With few code changes I think it is possible to make NaturalIdLoadAccess work with no need to rely on flush at all,
> please see following comments.
--
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