[seam-issues] [JBoss JIRA] Updated: (JBSEAM-4694) Query class does not handle distinct query properly

Michael K (JIRA) jira-events at lists.jboss.org
Mon Aug 1 11:39:23 EDT 2011

     [ https://issues.jboss.org/browse/JBSEAM-4694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael K updated JBSEAM-4694:

    Attachment: JBSEAM4694-QueryTest.diff

Diff file for QueryTest.java to reproduce bug

> Query class does not handle distinct query properly
> ---------------------------------------------------
>                 Key: JBSEAM-4694
>                 URL: https://issues.jboss.org/browse/JBSEAM-4694
>             Project: Seam 2
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: 2.2.1.CR1
>            Reporter: Martin Frey
>            Priority: Critical
>         Attachments: JBSEAM4694-QueryTest.diff
> With the update from 2.2.0.GA to 2.2.1.CR1 the SUBJECT_PATTERN within the Query class has changed. This pattern does filter this query as a bad one:
> select distinct bean1 from Bean1 bean1, Bean2 bean2 where bean1 in elements(bean2.bean1s) order by bean1.id asc

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list