[hibernate-issues] [Hibernate-JIRA] Resolved: (ANN-750) @NaturalId not working when placed on single *ToOne property
Hardy Ferentschik (JIRA)
noreply at atlassian.com
Thu Jun 19 11:02:33 EDT 2008
[ http://opensource.atlassian.com/projects/hibernate/browse/ANN-750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list