[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4605?page=c...
]
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira