the GraphSession.saveProcessInstance(pi) method invocation should be replaced with jbpmContext.save(pi)
let us know if that doesn't help.
sorry for the bad question-design ;-)
My problem is: The old method "saveProcessInstance" calles saveTimer & saveLogs.
The new "save" does neither the one nor the other. The timer seems to be saved by Hibernate azutomaticaly, but the logs aren't correctly saved in the situation a process starts a new sub-process (the logs for the sub-process are missing then).
the new save is more generic. it executes a list of SaveOperation's. there is a default list of save operations that can be overwritten in the jbpm.cfg.xml
saving the logs and saving the times are now SaveOperation's
Thanks for the quick answer. Do you have a link in the doku or a example for me, because I haven't found the correct syntax myself :-(
But I have found some new nice features for configuring persistence, good work :-)