[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-7206) NaturalIdLoadAccess: NaturalId synchronization with no need to flush at all

Steve Ebersole (JIRA) noreply at atlassian.com
Fri Mar 30 13:34:48 EDT 2012


    [ https://hibernate.onjira.com/browse/HHH-7206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46136#comment-46136 ] 

Steve Ebersole commented on HHH-7206:
-------------------------------------

Overall seems pretty reasonable.  Not a fan of adding a synchNaturalId() method to Session, but adding the ability to disable the enabled-by-default "synchronization" of changed natural ids to the load api is reasonable I think.  I still like the idea of "synchronization" there being the process of writing those discovered changes to the database and adjusting for natural-id lookups rather than only adjusting for natural-id lookups.  

> NaturalIdLoadAccess: NaturalId synchronization with no need to flush at all
> ---------------------------------------------------------------------------
>
>                 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