According to http://jira.codehaus.org/browse/ACT-1588, there should be support for pagination (listpage() operation) for native Queries in version 5.12.However, when trying to use this, I find the NativeTaskQuery API:
package org.activiti.engine.task;
public interface NativeTaskQuery extends org.activiti.engine.query.NativeQuery<org.activiti.engine.task.NativeTaskQuery,org.activiti.engine.task.Task> {
}
and the NativeQuery API:
public interface NativeQuery<T extends org.activiti.engine.query.NativeQuery<?,?>, U> {
T sql(java.lang.String s);
T parameter(java.lang.String s, java.lang.Object o);
long count();
U singleResult();
java.util.List<U> list();
}
No listPage() to be found on these interfaces …My maven imports are - I think - correct to import Activiti 5.12:
…
<dependencies>
…
<!– Activiti –>
<dependency>
<groupId>org.activiti</groupId>
<artifactId>activiti-spring</artifactId>
<version>5.12</version>
</dependency>
…
Am I missing something here or is this feature really not implemented?