Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-1065

Entity Query should support multiple value bindings on restrictions.

    Details

      Description

      Entity Query should support multiple value bindings on restrictions.

      The use case would be the 'between' statement, as of now Entity Query will throw an exception using a 'between' statement:

      Caused by: java.lang.IllegalArgumentException: there should be exactly one value binding in a restriction: applicationDeadline between #

      {vacancyBrowseSearch.appDeadlineStartDate}

      and #

      {vacancyBrowseSearch.appDeadlineEndDate}

      at org.jboss.seam.framework.Query.parseEjbql(Query.java:145)
      at org.jboss.seam.framework.EntityQuery.createQuery(EntityQuery.java:100)
      at org.jboss.seam.framework.EntityQuery.getResultList(EntityQuery.java:41)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  xerovector sal something
                • Votes:
                  27 Vote for this issue
                  Watchers:
                  27 Start watching this issue

                  Dates

                  • Created:
                    Updated: