Issue Type: Bug Bug
Affects Versions: 4.1.4
Assignee: Unassigned
Attachments: testFieldAccessBug.tar.gz
Components: core, entity-manager
Created: 14/Feb/13 7:40 AM
Description:

The getter method of a field is used to determine the type of this field, even if field access is enabled. If no getter method is available, the determination of the type works correctly. This leads to an exception,
when a getter of a field is available that returns another type than the field type itself (see attached test case).
This is caused by the method SimpleValue.setTypeUsingReflection, which uses ReflectHelper.reflectedPropertyClass to determine the type via reflection, but without paying attention to the field access property.

Environment: 4.1.4.Final, mysql, hsql
Project: Hibernate ORM
Labels: hibernate core
Priority: Major Major
Reporter: Daniel Nuß
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira