[JBoss JIRA] Created: (JBPM-2567) TaskQuery Should allow to .count() Tasks in addition of .list() them
by Adolf Grazou (JIRA)
TaskQuery Should allow to .count() Tasks in addition of .list() them
---------------------------------------------------------------------
Key: JBPM-2567
URL: https://jira.jboss.org/jira/browse/JBPM-2567
Project: jBPM
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Runtime Engine
Affects Versions: jBPM 4.1
Reporter: Adolf Grazou
The interface : "org.jbpm.api.TaskQuery" allows to make queries to the existing Tasks.
It allows to list the Tasks corresponding to a certain filter.
Currently, the only way to get the number of Tasks corresponding to this filter is to get the list, then get the size of this list.
That means that for the equivalent of a "count" in the DB, we have to retrieve the whole list. (which is not optimized).
Maybe adding a .count() method in addition of the .list() method would be interesting.
--
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
15 years
[JBoss JIRA] Created: (JBPM-2654) instal.jbpm.into.jboss does not copy the MySQL driver
by Joram Barrez (JIRA)
instal.jbpm.into.jboss does not copy the MySQL driver
-----------------------------------------------------
Key: JBPM-2654
URL: https://jira.jboss.org/jira/browse/JBPM-2654
Project: jBPM
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: jBPM 4.2
Reporter: Joram Barrez
The install task 'install.jbpm.into.jboss' does not copy the MySql driver (using -Ddatabase=mysql ofc)
Current:
<copy file="${jbpm.home}/lib/${database.driver}" todir="${database.driver.destination.dir}" />
-> But when printing out 'todir', the destination dir is not set
Proposed fix:
<property name="database.driver.destination.dir" value="${jboss.server.config.dir}/deploy/jbpm/jbpm-service.sar" />
<antcall target="internal.copy.database.driver" />
--
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
15 years