Kasper Sørensen created METAMODEL-194:
-----------------------------------------

             Summary: Max rows property of query cannot be 0
                 Key: METAMODEL-194
                 URL: https://issues.apache.org/jira/browse/METAMODEL-194
             Project: Apache MetaModel
          Issue Type: Bug
            Reporter: Kasper Sørensen


Query.setMaxRows(Integer) has a check to see that the value is correct. But for 
some reason it does not allow max rows = 0. In my opinion it should be possible 
to define and execute a query with max rows = 0. It would just always return an 
empty DataSet. But from our perspective we shouldn't prohibit it becuase the 
query may be created by some tool or dynamic code in which case allowing 0 may 
make sense.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to