Details
-
Bug
-
Resolution: Done
-
Major
-
6.x.x
-
None
-
CR2
-
-
2017 Week 40-41-42
Description
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)
This can be solved by adding following configuration into persistence.xml of the KJAR:
<property name="hibernate.enable_lazy_load_no_trans" value="true"/>
But more suitable solution would be the code change in the server side, so the MappedVariables set would be eagerly loaded.
Attachments
Issue Links
- is caused by
-
JBPM-6474 LazyInitializationException when getting process variables which extends VariableEntity
- Resolved