[hibernate-issues] [Hibernate-JIRA] Created: (ANN-425) @ManyToOne defined as @Id in a @MappedSuperclass/@EmbeddableSuperclass can't be reached by an @OneToMany(mappedBy)
Giampaolo Tomassoni (JIRA)
noreply at atlassian.com
Mon Aug 28 14:27:24 EDT 2006
@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