Query class does not handle distinct query properly
---------------------------------------------------
Key: JBSEAM-4694
URL:
https://jira.jboss.org/browse/JBSEAM-4694
Project: Seam
Issue Type: Bug
Components: Framework
Affects Versions: 2.2.1.CR1
Reporter: Martin Frey
Priority: Critical
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.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira