[jpa-spec issues] [JIRA] Commented: (JPA_SPEC-44) API improvements
- From: "ldemichiel (JIRA)" <
- Subject: [jpa-spec issues] [JIRA] Commented: (JPA_SPEC-44) API improvements
- Date: Tue, 22 Jan 2013 18:57:53 +0000 (GMT+00:00)
- Auto-submitted: auto-generated
ldemichiel commented on JPA_SPEC-44:
It was felt that CriteriaQuery<T> where(List<Predicate> restrictions)
was not needed, as unlike in the other cases, there are operations to
combine expressions using the logical operators.
You can post to the users email list by joining the project.
> API improvements
> Key: JPA_SPEC-44
> URL: http://java.net/jira/browse/JPA_SPEC-44
> Project: jpa-spec
> Issue Type: Bug
> Reporter: ymajoros
> Priority: Minor
> Quite happy to see jpa 2.1 is near...
> I couldn't seem to subscribe to the mailing list, so here are some comments.
> Some minor question/suggestion, maybe already discussed?
> Why do we have this:
> CriteriaQuery<T> where(Predicate... restrictions);
> But not, additionnally, this:
> CriteriaQuery<T> where(List<Predicate> restrictions);
> While there is:
> CriteriaQuery<T> groupBy(Expression<?>... grouping);
> CriteriaQuery<T> groupBy(List<Expression<?>> grouping);
> And List parameters for having, orderBy, ...
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see: http://www.atlassian.com/software/jira