Skip to main content

[jpa-spec issues] [JIRA] Commented: (JPA_SPEC-44) API improvements

  • From: "ldemichiel (JIRA)" < >
  • To:
  • 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


    [ 
http://java.net/jira/browse/JPA_SPEC-44?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=354077#action_354077
 ] 

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);
> and
>     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: 
http://java.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[jpa-spec issues] [JIRA] Created: (JPA_SPEC-44) API improvements

ymajoros (JIRA) 01/19/2013

[jpa-spec issues] [JIRA] Commented: (JPA_SPEC-44) API improvements

ldemichiel (JIRA) 01/22/2013

[jpa-spec issues] [JIRA] Closed: (JPA_SPEC-44) API improvements

ldemichiel (JIRA) 01/22/2013
 
 
Close
loading
Please Confirm
Close