[hibernate-issues] [Hibernate-JIRA] Created: (HV-542) HibernateTraversableResolver does not correctly determine if an lazy property is initialized.
Tim Heys (JIRA)
noreply at atlassian.com
Wed Dec 14 16:51:19 EST 2011
HibernateTraversableResolver does not correctly determine if an lazy property is initialized.
---------------------------------------------------------------------------------------------
Key: HV-542
URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-542
Project: Hibernate Validator
Issue Type: Bug
Components: engine
Affects Versions: 4.1.0.Final
Environment: HV4.1F, HC3.6.7F, JPA2
Reporter: Tim Heys
HibernateTraversableResolver is returning true in "isReachable" for lazy loaded properties that are not initliazed.
Line 115:
Hibernate.isPropertyInitialized( traversableObject, traversableProperty.getName() );
only ch
"traversableObject" is a Direct reference to the Entity and not a proxy, and Hibernate.isPropertyInitialized is only checking if it is an instance of HibernateProxy or "instrumented" to determine if it is initialized or not.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list