[
https://issues.apache.org/jira/browse/DELTASPIKE-1103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15213022#comment-15213022
]
John D. Ament commented on DELTASPIKE-1103:
-------------------------------------------
This doesn't really work well in the entity model used by data. You can't
group on a product's name and expect product entities to come back, its usually
paired with an aggregate.
I wouldn't mind if adding aggregate support it allowed for pairs to come back
in a grouping statement.
> Support GROUP BY and HAVING clauses
> -----------------------------------
>
> Key: DELTASPIKE-1103
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-1103
> Project: DeltaSpike
> Issue Type: Sub-task
> Components: Data-Module
> Reporter: Daniel Cunha
> Assignee: Daniel Cunha
>
> Support GROUP BY and HAVING clauses. Examples:
> {code:java}
> List<Product> findByNameGroupByName(String name);
> List<Product> findByNameGroupByNameHavingNameLike(String name);
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)