You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Patrick Linskey (JIRA)" <ji...@apache.org> on 2008/01/16 03:25:34 UTC
[jira] Created: (OPENJPA-491) JPQL extension: scalar functions in
GROUP BY
JPQL extension: scalar functions in GROUP BY
--------------------------------------------
Key: OPENJPA-491
URL: https://issues.apache.org/jira/browse/OPENJPA-491
Project: OpenJPA
Issue Type: New Feature
Affects Versions: 1.0.1, 1.0.0, 0.9.7, 0.9.6, 0.9.0
Reporter: Patrick Linskey
Fix For: 1.1.0
JPQL does not allow scalar functions to be used in GROUP BY clauses. This can be useful. Example:
select substring(o.stringField, 1, 1), count(o) from AllFieldTypes o
group by substring(o.stringField, 1, 1)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (OPENJPA-491) JPQL extension: scalar functions in
GROUP BY
Posted by "Patrick Linskey (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENJPA-491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Linskey reopened OPENJPA-491:
-------------------------------------
> JPQL extension: scalar functions in GROUP BY
> --------------------------------------------
>
> Key: OPENJPA-491
> URL: https://issues.apache.org/jira/browse/OPENJPA-491
> Project: OpenJPA
> Issue Type: New Feature
> Affects Versions: 0.9.0, 0.9.6, 0.9.7, 1.0.0, 1.0.1
> Reporter: Patrick Linskey
> Fix For: 1.1.0
>
>
> JPQL does not allow scalar functions to be used in GROUP BY clauses. This can be useful. Example:
> select substring(o.stringField, 1, 1), count(o) from AllFieldTypes o
> group by substring(o.stringField, 1, 1)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (OPENJPA-491) JPQL extension: scalar functions in
GROUP BY
Posted by "Patrick Linskey (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENJPA-491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Linskey resolved OPENJPA-491.
-------------------------------------
Resolution: Later
> JPQL extension: scalar functions in GROUP BY
> --------------------------------------------
>
> Key: OPENJPA-491
> URL: https://issues.apache.org/jira/browse/OPENJPA-491
> Project: OpenJPA
> Issue Type: New Feature
> Affects Versions: 0.9.0, 0.9.6, 0.9.7, 1.0.0, 1.0.1
> Reporter: Patrick Linskey
> Fix For: 1.1.0
>
>
> JPQL does not allow scalar functions to be used in GROUP BY clauses. This can be useful. Example:
> select substring(o.stringField, 1, 1), count(o) from AllFieldTypes o
> group by substring(o.stringField, 1, 1)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (OPENJPA-491) JPQL extension: scalar functions in
GROUP BY
Posted by "Patrick Linskey (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENJPA-491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Linskey resolved OPENJPA-491.
-------------------------------------
Resolution: Fixed
> JPQL extension: scalar functions in GROUP BY
> --------------------------------------------
>
> Key: OPENJPA-491
> URL: https://issues.apache.org/jira/browse/OPENJPA-491
> Project: OpenJPA
> Issue Type: New Feature
> Affects Versions: 0.9.0, 0.9.6, 0.9.7, 1.0.0, 1.0.1
> Reporter: Patrick Linskey
> Fix For: 1.1.0
>
>
> JPQL does not allow scalar functions to be used in GROUP BY clauses. This can be useful. Example:
> select substring(o.stringField, 1, 1), count(o) from AllFieldTypes o
> group by substring(o.stringField, 1, 1)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.