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

Mark Lundquist (JIRA) noreply at atlassian.com
Mon Dec 3 23:44:58 EST 2007


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

Mark Lundquist commented on HHH-229:
------------------------------------

I have just verified that this problem is still in Hibernate 3.2.5ga.

This issue was closed as a Duplicate, but I can't find any other similar issue.  Can this issue be reopened please?  The originator of the issue provided a test case as an attachment.


> 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