[
https://jira.jboss.org/jira/browse/JBPM-2502?page=com.atlassian.jira.plug...
]
Joram Barrez resolved JBPM-2502.
--------------------------------
Resolution: Done
@Hauke: this is indeed a critical issue (ordening simply doesn't work)
I added the method call to every hql() method of each subclass of AbstractQuery and added
test cases for every property/query typ to the test suite.
Thanks for this excellent bug report!
Queries ignore order by
-----------------------
Key: JBPM-2502
URL:
https://jira.jboss.org/jira/browse/JBPM-2502
Project: jBPM
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Runtime Engine
Affects Versions: jBPM 4.0
Reporter: Hauke Rabe
Assignee: Joram Barrez
Priority: Critical
Fix For: jBPM 4.2
Missing method call to
org.jbpm.pvm.internal.queryAbstractQuery#appendOrderByClause(StringBuilder hql).
Only TaskQueryImpl, ProcessDefinitionQueryImpl and ProcessInstanceQueryImpl call
org.jbpm.pvm.internal.queryAbstractQuery#appendOrderByClause(StringBuilder hql). But all
define the orderAsc / orderDesc methods.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira