Act-1588 Native query support paging

http://jira.codehaus.org/browse/ACT-1588