[hibernate-issues] [Hibernate-JIRA] Created: (HHH-5501) Lazy initialized objects become initialized when accessing their identifier property
Robert Thaler (JIRA)
noreply at atlassian.com
Tue Aug 24 09:41:42 EDT 2010
Lazy initialized objects become initialized when accessing their identifier property
------------------------------------------------------------------------------------
Key: HHH-5501
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5501
Project: Hibernate Core
Issue Type: Improvement
Components: core
Environment: Hibernate 3.5.5
Reporter: Robert Thaler
Priority: Minor
Attachments: PojoEntityTuplizer.diff
Lazy initialized objects become initialized when accessing their identifier property.
This happens e.g. when using AccessType.FIELD for JPA entities.
Reason: JavassitLazyInitializer needs indentifier method for preventing unnecessary
initialization of proxied object on accessing their identifier property.
The attached small patch extends PojoEntityTupilzer. It creates BasicPropertyAccessor Getter/Setters
for the assigned DirectPropertyAccessor Getter/Setters.
--
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