[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-672) Allow Query restrictions without value bindings

Christian Bauer (JIRA) jira-events at jboss.com
Fri Jan 19 05:37:52 EST 2007


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