[
http://jira.jboss.com/jira/browse/JBSEAM-1065?page=comments#action_12367453 ]
Rob H. commented on JBSEAM-1065:
--------------------------------
uhm? So just do it!
override the getEjbl()
and create your query by urself with ur restriction, watch the src code and do it like
this.
For me its working perfectly without JSF ValueBinding.
Its not a BUG its a NEW FEATURE.
Entity Query should support multiple value bindings on restrictions.
--------------------------------------------------------------------
Key: JBSEAM-1065
URL:
http://jira.jboss.com/jira/browse/JBSEAM-1065
Project: JBoss Seam
Issue Type: Bug
Components: Framework
Affects Versions: 1.2.0.GA
Reporter: sal something
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)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira