[hibernate-issues] [Hibernate-JIRA] Commented: (ANN-663) @JoinColumn must be set for @AssociationOverride to work
Gail Badner (JIRA)
noreply at atlassian.com
Mon Oct 8 12:50:39 EDT 2007
[ http://opensource.atlassian.com/projects/hibernate/browse/ANN-663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_28380 ]
Gail Badner commented on ANN-663:
---------------------------------
Here is the stacktrace from the forum:
org.hibernate.AnnotationException: Illegal attempt to define a @JoinColumn with a mappedBy association: clearer
at org.hibernate.cfg.Ejb3JoinColumn.buildJoinColumn(Ejb3JoinColumn.java:152)
at org.hibernate.cfg.Ejb3JoinColumn.buildJoinColumns(Ejb3JoinColumn.java:127)
at org.hibernate.cfg.AnnotationBinder.processElementAnnotations(AnnotationBinder.java:1094)
at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:699)
at org.hibernate.cfg.AnnotationConfiguration.processArtifactsOfType(AnnotationConfiguration.java:353)
at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:265)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1205)
> @JoinColumn must be set for @AssociationOverride to work
> --------------------------------------------------------
>
> Key: ANN-663
> URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-663
> Project: Hibernate Annotations
> Issue Type: Improvement
> Components: binder
> Affects Versions: 3.3.0.ga
> Environment: Hibernate 3.2 , MySQL
> Reporter: Bas van den Berg
> Priority: Minor
>
> The following error is given when overiding the joincolumn which has not been set explicitly:
> Illegal attempt to define a @JoinColumn with a mappedBy association
> see
> http://forum.hibernate.org/viewtopic.php?t=960621&highlight=
--
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