[
http://opensource.atlassian.com/projects/hibernate/browse/ANN-750?page=co...
]
Hardy Ferentschik resolved ANN-750.
-----------------------------------
Resolution: Fixed
Made sure that binder.setProperty(inferredData.getProperty()); is called in
AnnotationBinder.bindManyToOne. This will ensure that @NaturalId gets properly processed
and ClassMetadata.hasNaturalIdentifier() returns true.
Not sure though whether this fixed the caching problems as described in the forum thread.
@NaturalId not working when placed on single *ToOne property
------------------------------------------------------------
Key: ANN-750
URL:
http://opensource.atlassian.com/projects/hibernate/browse/ANN-750
Project: Hibernate Annotations
Issue Type: Bug
Components: binder
Reporter: Hardy Ferentschik
Assignee: Hardy Ferentschik
Fix For: 3.4.0.CR2
When the NaturalId annotation is solely placed on a single *ToOne property the mapping
meta data returns false for hasNaturalIdentifier().
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira