[JBoss JIRA] Created: (JBPM-2543) Enhance query API with operations needed for JOPR plugin
by Joram Barrez (JIRA)
Enhance query API with operations needed for JOPR plugin
--------------------------------------------------------
Key: JBPM-2543
URL: https://jira.jboss.org/jira/browse/JBPM-2543
Project: jBPM
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Affects Versions: jBPM 4.0, jBPM 4.1
Reporter: Joram Barrez
Assignee: Joram Barrez
Priority: Minor
Fix For: jBPM 4.3
The following operations where demanded by Jim Ma for his JOPR plugin work (and I agree that they are needed).
1. JobQuery : query by job id
2. query historyTasks by process definition id" .
3. The api to query the average process instance duration . I get this value by sum and divide the process duration . It will be faster if there is the same api as the get average activity duration.
4. The api to get the process deployment , process definition , process instances , task number . It can be retrieved by calling the collection size . It will be efficient to select count(*) from database .
--
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
14 years, 11 months
[JBoss JIRA] Created: (JBPM-2416) introduce task audit capabilities
by Tom Baeyens (JIRA)
introduce task audit capabilities
---------------------------------
Key: JBPM-2416
URL: https://jira.jboss.org/jira/browse/JBPM-2416
Project: JBoss jBPM
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Runtime Engine
Reporter: Tom Baeyens
Assignee: Tom Baeyens
Fix For: jBPM 4.1
task history and all history in general should be configurable in a declarative manner.
on a task definition, a process or in the process-engine context, it should get a boolean audit attribute. if audit for a task is enabled, all variable updates for that will be recorded.
for now, it is sufficient if the audit attribute has potential values {enabled,disabled}. In the future, the value for the audit attribute could get more fine grained specification based on individual (commaseparated list of) use cases.
it must be possible to combine audit with the isHistoryEnabled on the variable declaration.
--
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
14 years, 11 months
[JBoss JIRA] Created: (JBPM-2624) ERROR org.hibernate.hql.PARSER in InitializePropertiesCmd.java
by Michael Wohlfart (JIRA)
ERROR org.hibernate.hql.PARSER in InitializePropertiesCmd.java
---------------------------------------------------------------
Key: JBPM-2624
URL: https://jira.jboss.org/jira/browse/JBPM-2624
Project: jBPM
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: jBPM 4.3
Environment: Ubuntu 9.04
Oracle JDBC Driver version - "11.1.0.6.0-Production+"
Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
Oracle Database 10g Express Edition Release 10.2.0.1.0
jBPM 4.3-SNAPSHOT
Reporter: Michael Wohlfart
Priority: Trivial
the query for maxDbid in InitializePropertiesCmd.java gives me a
ERROR org.hibernate.hql.PARSER - line 1:12: unexpected token: object
I think this is caused my the "as" keyword not supported in oracle.
the following change in InitializePropertiesCmd.java fixed this for me:
for (String persistedType: persistedTypes) {
try {
Long maxDbid = (Long) session.createQuery(
- "select max(object.dbid) " +
- "from "+persistedType+" as object"
+ "select max(dbid) " +
+ "from "+persistedType
).uniqueResult();
if ( (maxDbid!=null)
--
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