Search in sources :

Example 1 with PersistentProcessInstance

use of org.jbpm.persistence.api.PersistentProcessInstance in project jbpm by kiegroup.

the class ManualProcessTransactionManager method commit.

@Override
public void commit(boolean transactionOwner) {
    for (PersistentProcessInstance processInstanceInfo : session.getStoredProcessInstances()) {
        storage.saveOrUpdate(processInstanceInfo);
    }
    session.clearStoredProcessInstances();
    super.commit(transactionOwner);
}
Also used : PersistentProcessInstance(org.jbpm.persistence.api.PersistentProcessInstance)

Aggregations

PersistentProcessInstance (org.jbpm.persistence.api.PersistentProcessInstance)1