Thanks for answering. Yes I have in my persistence file:
<class>org.jbpm.process.audit.ProcessInstanceLog</class>
<class>org.jbpm.process.audit.NodeInstanceLog</class>
<class>org.jbpm.process.audit.VariableInstanceLog</class>
I have a question though. Is it right to keep the persistence xml file in the jbpm-bam jar package and add as library for the web application you're integrating with JBPM, because that was where I kept it.
Yes I also have
JPAWorkingMemoryDbLogger logger = new JPAWorkingMemoryDbLogger(ksession);