[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-4605) Add support for @OneToMany @JoinColumn in XML
Hardy Ferentschik (JIRA)
noreply at atlassian.com
Tue Feb 23 11:41:47 EST 2010
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=35674#action_35674 ]
Hardy Ferentschik commented on HHH-4605:
----------------------------------------
I am confused. I can see that we have annotation cases we use @OneToMany @JoinColumn together, eg in {{org.hibernate.test.annotations.onetomany.City}}, so are you expecting something like this to work in {{orm.xml}} :
{code}
<one-to-many ... >
<join-column .../>
...
</one-to-many/>
{code}
Is so, there might be a problem, since according to the xsd I am working with (the one checked in under {{annotations/src/main/resources/org/hibernate/ejb/orm_2_0.xsd}}) this is not allowed. <one-to-many> can have <join-column> only as part of a <join-table>.
<join-column> is allowed as direct subnode of <many-to-one>.
> Add support for @OneToMany @JoinColumn in XML
> ---------------------------------------------
>
> Key: HHH-4605
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4605
> Project: Hibernate Core
> Issue Type: Sub-task
> Components: annotations
> Reporter: Emmanuel Bernard
> Assignee: Hardy Ferentschik
> Fix For: 3.5.0-CR-2
>
>
--
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