[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-229) Filter failes on many-to-many relations

Diego Pires Plentz (JIRA) noreply at atlassian.com
Sat Dec 8 21:17:56 EST 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_29113 ] 

Diego Pires Plentz commented on HHH-229:
----------------------------------------

Mark, the issue that Gavin is talking about is TODO-129. Could you provide a patch to solve this issue?

> Filter failes on many-to-many relations
> ---------------------------------------
>
>                 Key: HHH-229
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-229
>             Project: Hibernate3
>          Issue Type: Bug
>    Affects Versions: 3.1 rc3
>         Environment: Hibernate3 RC1
>            Reporter: Magnus Sandberg
>         Attachments: filterexample.zip
>
>
> When adding a filter to a class or one-to-many relation the filtering happens as expected. When adding a filter to a many-to-many relation (and I guess other relations using a join table) the columns in the filter-condition are mapped on the join table and not the associated table - the result is failure with exception.

-- 
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