[
http://jira.jboss.com/jira/browse/JBSEAM-672?page=comments#action_12351230 ]
Christian Bauer commented on JBSEAM-672:
----------------------------------------
It is conditional, I didn't copy/paste the whole if/then/else clause...
Allow Query restrictions without value bindings
-----------------------------------------------
Key: JBSEAM-672
URL:
http://jira.jboss.com/jira/browse/JBSEAM-672
Project: JBoss Seam
Issue Type: Bug
Components: Framework
Affects Versions: 1.1.1.GA
Reporter: Christian Bauer
In framework/Query.java line 164:
if (valueBinding==null)
{
throw new IllegalArgumentException("no value binding in restriction:
" + restriction);
}
I want to have restrictions without value bindings, e.g. in my extended EntityQuery:
public List<String> getRestrictions() {
List<String> restrictions = new ArrayList<String>();
restrictions.add("parentNode is null");
return restrictions;
}
--
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