[
https://jira.jboss.org/jira/browse/JBPM-2584?page=com.atlassian.jira.plug...
]
Huisheng Xu updated JBPM-2584:
------------------------------
Attachment: X2584InvalidCmdTest.java
These three cmd has been out of date.
org.jbpm.pvm.internal.cmd.FindProcessDefinitionKeysCmd
org.jbpm.pvm.internal.cmd.FindProcessDefinitionsByKeyCmd
org.jbpm.pvm.internal.cmd.FindProcessDefinitionByIdCmd
The related namedQuery has been deleted in the previous version. So these three commands
should be deleted. And maybe we should modify DbSession to hide these three methods:
findProcessDefinitionKeys()
findProcessDefinitionsByKey()
findProcessDefinitionById()
The testcase could verify these three commands was invalid.
Command execution problems: org.hibernate.MappingException: Named
query not known
---------------------------------------------------------------------------------
Key: JBPM-2584
URL:
https://jira.jboss.org/jira/browse/JBPM-2584
Project: jBPM
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: jBPM 4.1
Environment: - jBPM Version : 4.1
- JBOSS Version: 5.0.0.GA
- Database : Oracle 11g
- JDK : java version "1.6.0_12"
- Configuration : original jbpm.cfg.xml
- Libraries : no additional libs
Reporter: Dominic Umbeer
Assignee: Koen Aers
Priority: Minor
Fix For: jBPM 4.4
Attachments: X2584InvalidCmdTest.java
While executing e.g. a FindProcessInstanceByIdCmd or FindProcessInstanceByKeyCmd it
occured a org.hibernate.MappingException: Named query not known:
findProcessDefinitionsById or org.hibernate.MappingException: Named query not known:
findProcessDefinitionsByKey respectivly.
FindProcessInstanceByIdCmd and FindProcessInstanceByKeyCmd are the known commands with
this problem. Maybe other commands are effected too.
--
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