[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-1829) Allow join on any property using property-ref
Andrew Seales (JIRA)
noreply at atlassian.com
Tue Nov 28 13:17:06 EST 2006
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1829?page=comments#action_25454 ]
Andrew Seales commented on HHH-1829:
------------------------------------
Found a couple of problems so far:
- when hibernate generates the SQL schema the foreign key constraint refers to the incorrect column in the primary table
- when inserting objects the primary key of the join table is set to the primary key of the primary table instead of the property-ref column
Once I've fixed these issues I'll submit another patch.
Andrew
> Allow join on any property using property-ref
> ---------------------------------------------
>
> Key: HHH-1829
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1829
> Project: Hibernate3
> Type: New Feature
> Components: core
> Versions: 3.2.0 cr1, 3.2.0.cr2
> Reporter: Maarten Winkels
> Assignee: Steve Ebersole
> Fix For: 3.2.2
> Attachments: AbstractJoinTest.java, JoinNoPropertyRefTest.java, JoinPropertyRefTest.java, Person.hbm.xml, Person.java, PersonNoPropertyRef.hbm.xml, hhh-1829.patch
>
>
> Currently joining tables for one class (uing the <join...> tag) is only supported for the id property. The property-ref is allowed on the <key..> tag inside the <join..> tag, but this is ignored.
--
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