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

Chris Bredesen (JIRA) noreply at atlassian.com
Fri Aug 31 16:29:24 EDT 2007


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.5, 3.2.4.sp1, 3.2.4, 3.2.3
            Reporter: Chris Bredesen
            Assignee: Chris Bredesen


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