]
Emmanuel Bernard resolved ANN-739.
----------------------------------
Resolution: Duplicate
I am prety sure there is a duplicate of this request in Hibernate Core
@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.0.ga, 3.3.1.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: