Yep
| Hibernate: select processdef0_.ID_ ...
| Hibernate: insert into JBPM_TOKEN ...
| Hibernate: insert into JBPM_PROCESSINSTANCE ...
| Hibernate: select definition0_.PROCESSDEFINITION_ ...
| Hibernate: select events0_.PROCESSDEFINITION_ ...
| Hibernate: select startstate0_.ID_ ...
Hi!
After turning on the show sql parameter i saw that no DELETE statement appears
in my console.
So i do this test case that is OK and continues to not show any DELETE
jbpm.TASKINSTANCE...:
| public void testToken() {
| JbpmContext jc = jbpmConfiguration.createJbpmContext();
Sorry, the real code is this:
| public void removeStateProcessInstance(Integer keyRef, String processNname,
String state) {
| JbpmContext jc = jbpmConfiguration.createJbpmContext();
| TaskMgmtSession tms = jc.getTaskMgmtSession();
| try {
|
Method removeTaskInstance fail becausa a constraint violation.
But if i delete processLogs it seems to work.
RQ_
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4003923#4003923
Reply to the post :
I Ronald,
If i delete the specific row in jbpm_logs then i can delete the taskInstance.
Id like to give to the user the possibility of making undo.
Can Process logs be used to implement the undo?
Thanks!
View the original post :
No exceptions :(
The code i show to you runs perfectly and in debug i inspect the return of
getTaskInstances method and the taskInstances are removed...but after closing
the context my db remains the same!! :)
Ok, im going to read the documentation.
But btw the best way to implementing undo is
Hi,
I need in my code to remove some TaskInstances.
I have:
| static JbpmConfiguration jbpmConfiguration =
JbpmConfiguration.getInstance();
|
| public void removeTI(TaskInstance SomeTaskInstance) {
| JbpmContext jc = jbpmConfiguration.createJbpmContext();
|
Hi
I have jBPM working in a db named 'jbpm'. But this week i need to change the db
location to 'xMind' that already have another tables.
Here's my action sequence:
1. Changed in config-files folder the file hibernate.cfg.xml
2. Changed in config-files folder the hibernate.properties
3. Changed