metamodel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (METAMODEL-194) Max rows property of query cannot be 0
Date Fri, 09 Oct 2015 07:16:26 GMT


ASF GitHub Bot commented on METAMODEL-194:

Github user asfgit closed the pull request at:

> Max rows property of query cannot be 0
> --------------------------------------
>                 Key: METAMODEL-194
>                 URL:
>             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

View raw message