[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-2816) DefaultFlushEntityEventListener.checkNaturalId() causes extra SELECTs on read-only entities

Chris Bredesen (JIRA) noreply at atlassian.com
Thu Sep 20 18:01:14 EDT 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2816?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Bredesen resolved HHH-2816.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 3.3
                   3.2.6

> DefaultFlushEntityEventListener.checkNaturalId() causes extra SELECTs on read-only entities
> -------------------------------------------------------------------------------------------
>
>                 Key: HHH-2816
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2816
>             Project: Hibernate3
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.2.3, 3.2.4, 3.2.4.sp1, 3.2.5
>            Reporter: Chris Bredesen
>            Assignee: Chris Bredesen
>             Fix For: 3.2.6, 3.3
>
>
> Entities loaded by a read-only query are correctly loaded and no snapshot is stored.  However, the call to checkNaturalId() causes the state to be re-read from the database unnecessarily.

-- 
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