[hibernate-issues] [Hibernate-JIRA] Commented: (ANN-425) @ManyToOne defined as @Id in a @MappedSuperclass/@EmbeddableSuperclass can't be reached by an @OneToMany(mappedBy)
Emmanuel Bernard (JIRA)
noreply at atlassian.com
Mon Aug 28 15:47:24 EDT 2006
[ http://opensource.atlassian.com/projects/hibernate/browse/ANN-425?page=comments#action_24171 ]
Emmanuel Bernard commented on ANN-425:
--------------------------------------
"It is months now that this problem had been reported (by me and by other), but no progress."
What is the original Bug report number? I don't recall any such request apart from ANN-381 which is slightly different and fixed already
Hibernate Annotations does not support multiple @Id if not used in conjunction with @IdClass, @OneToMany is not the root issue.
> @ManyToOne defined as @Id in a @MappedSuperclass/@EmbeddableSuperclass can't be reached by an @OneToMany(mappedBy)
> ------------------------------------------------------------------------------------------------------------------
>
> Key: ANN-425
> URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-425
> Project: Hibernate Annotations
> Type: Bug
> Versions: 3.1beta3, 3.1beta4, 3.1beta5, 3.1beta6, 3.1beta7, 3.1beta8, 3.1beta9, 3.1.0.Beta10, 3.2.0.cr1
> Environment: hibernate-3.2.CR2 + hibernate-annotations-3.2.0-CR1 + hibernate-entitymanager-3.2.0-CR1 under JBoss 4.0.4-GA and EJB3
> Reporter: Giampaolo Tomassoni
> Attachments: test01.zip
>
>
> The case in subject reports the following error:
> org.hibernate.AnnotationException: mappedBy reference an unknown property: biz.tomassoni.hibernate.test01.AB.a in biz.tomassoni.hibernate.test01.A.a
> It is months now that this problem had been reported (by me and by other), but no progress.
> I'm attaching a testcase in the hope it can be useful.
--
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