LazyInitializationException when getting process variables which extends VariableEntity
Issue
When KJAR is configured with pluggable persistence (i.e. JPAPlaceholderResolverStrategy) and there are hibernate Entities in the project which extends org.drools.persistence.jpa.marshaller.VariableEntity, the marshalling fails when I try to obtain the list of process variables via kie-server-client (getProcessInstanceVariables method)
LazyInitializationException is thrown.
Environment
- Red Hat JBoss BPM Suite
- 6.4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.