[JBoss JIRA] Updated: (JBPM-966) Modify Hibernate mappings to enable searching for TaskInstance's by VariableInstance
by Thomas Diesler (JIRA)
[ https://jira.jboss.org/jira/browse/JBPM-966?page=com.atlassian.jira.plugi... ]
Thomas Diesler updated JBPM-966:
--------------------------------
Fix Version/s: jBPM 3.3.2 GA
Revisit issues that have votes
> Modify Hibernate mappings to enable searching for TaskInstance's by VariableInstance
> ------------------------------------------------------------------------------------
>
> Key: JBPM-966
> URL: https://jira.jboss.org/jira/browse/JBPM-966
> Project: JBoss jBPM
> Issue Type: Feature Request
> Components: Core Engine
> Affects Versions: jBPM 3.2.0
> Environment: Any
> Reporter: Richard Tomlinson
> Fix For: jBPM 3.3.2 GA
>
> Attachments: patches.zip
>
>
> We want to be able to *efficiently* search for task instances based on the values of one or more variable instance. For example:
> TaskInstance myTasklnstance = ....
> myTaskInstance.setVariableLocally("owner", "theOwner");
> myTaskInstance.setVariable("anId", new Long(123456));
> Using this example we would like to create a Hibernate Criteria based query that will allow us to search and retrieve the task instance using the two variables as criteria of the search. At present, this does not appear to be possible.
> Querying for TaskInstances based on one or more VariableInstance's requires a convoluted HQL expression where each variableinstance (v) is obtained with the join to task instance (ti) with "v.processInstance.id = ti.taskMgmtInstance.processInstance.id"
> Observation:
> -----------------
> TaskInstance hibernate mappings allows the retrieval of all variable instances for a given task instance. This mapping allows the resulting sql to join the JBPM_TASKINSTANCE table to JBPM_VARIABLEINSTANCE table. The JBPM_VARIABLEINSTANCE table has a FK back to JBPM_TASKINSTANCE but the Hibernate mappings do not contain the correponding reverse mapping.
--
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
17 years, 5 months
[JBoss JIRA] Created: (JBPM-1828) TaskRef transition names are null
by Heiko Braun (JIRA)
TaskRef transition names are null
---------------------------------
Key: JBPM-1828
URL: https://jira.jboss.org/jira/browse/JBPM-1828
Project: JBoss jBPM
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Console
Reporter: Heiko Braun
Assignee: Heiko Braun
Fix For: GWT Console 1.0.0 CR1
[ERROR] Failed to parse task ref
java.lang.NullPointerException:
null
at org.jboss.bpm.console.client.model.DTOParser.parseTaskReference(DTOParser.java:114)
at org.jboss.bpm.console.client.task.TaskList.onRecordsLoaded(TaskList.java:169)
at org.jboss.bpm.console.client.widgets.RemoteListView$ListViewStoreListener.onLoad(RemoteListView.java:220)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at com.google.gwt.dev.shell.mac.MethodDispatch.invoke(MethodDispatch.java:71)
at org.eclipse.swt.internal.carbon.OS.ReceiveNextEvent(Native Method)
at org.eclipse.swt.widgets.Display.sleep(Display.java:3801)
at com.google.gwt.dev.GWTShell.sleep(GWTShell.java:749)
at com.google.gwt.dev.GWTShell.pumpEventLoop(GWTShell.java:721)
at com.google.gwt.dev.GWTShell.run(GWTShell.java:593)
at com.google.gwt.dev.GWTShell.main(GWTShell.java:357)
[DEBUG] Parsing {"id":38, "tokenId":67, "processInstanceId":52, "processId":1, "name":"Create new web sale order", "actor":"manager", "isBlocking":false, "isSignalling":true, "transitionNames":[null], "pooledActors":[], "currentState":"IN_PROGRESS"}
--
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
17 years, 5 months