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

Marek Novotny (JIRA) jira-events at lists.jboss.org
Mon Aug 8 07:10:24 EDT 2011


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

Marek Novotny closed JBSEAM-4694.
---------------------------------

         Assignee: Marek Novotny
    Fix Version/s: 2.3.0.ALPHA
       Resolution: Done


Subject pattern changed to "^select\\s+((distinct)?\\s?\\w+(?:\\s*\\.\\s*\\w+)?)(?:\\s,\\s*(\\w+(?:\\s*\\.\\s*\\w+)?))?\\s+from"

> 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
>            Assignee: Marek Novotny
>            Priority: Critical
>             Fix For: 2.3.0.ALPHA
>
>         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