[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-672) Allow Query restrictions without value bindings
Gavin King (JIRA)
jira-events at jboss.com
Fri Jan 19 13:45:53 EST 2007
[ http://jira.jboss.com/jira/browse/JBSEAM-672?page=comments#action_12351229 ]
Gavin King commented on JBSEAM-672:
-----------------------------------
What for? Why not just write that in the where clause of the main query?
> 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
More information about the seam-issues
mailing list