[hibernate-issues] [Hibernate-JIRA] Created: (ANN-739) @Id annotation of field does not mark get/set methods in Proxy to no require load of object

Eduard Martinescu (JIRA) noreply at atlassian.com
Thu May 15 17:09:33 EDT 2008


@Id annotation of field does not mark get/set methods in Proxy to no require load of object
-------------------------------------------------------------------------------------------

                 Key: ANN-739
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-739
             Project: Hibernate Annotations
          Issue Type: Bug
    Affects Versions: 3.3.1.GA, 3.3.0.ga
         Environment: Hibernate 3.2.5, Sybase 15
            Reporter: Eduard Martinescu


If you use field level annotations, the created proxy objects are unaware of the get/set methods for the id property, so any call to 'getId()' causes the object to be loaded, when it should just return the id without loading the object from the database. This results in excess database requests that are completely unnecissary.

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