Robert Thaler commented on Improvement HHH-3718

because we prefere to annotate persistent properies on field level, we are suffering under this problem/behavior for long time too (HHH-5501)

Our final approach was a simple patch for PojoEntityTuplizer.buildProxyFactory that
creates a BasicPropertyAccessor for the id property if idGetter is of type DirectPropertyAccessor.

In my opinion this is a simple solution, that has not caused any problems for our projects.
The hard work was to implement this patch in a subclass of PojoEntityTuplizer and find a way to configure hibernate
to use our implementation - so we could avoid modifying hibernate jars.

I would appreciate, if we finally have a solution provided by hibernate itself.

kind regards

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