-
Enhancement
-
Resolution: Done
-
Major
-
7.8.0.Final
-
None
-
NEW
-
NEW
-
2018 Week 27-29
When using kie-server-spring-boot-starter as the guide, https://github.com/kiegroup/droolsjbpm-integration/tree/master/kie-spring-boot/kie-spring-boot-starters/kie-server-spring-boot-starter. It's not possible to use any custom JPA entity and Spring JPA repository.
When start, the application throws
Caused by: java.lang.IllegalArgumentException: Not a managed type
The reason is that kie-server auto config use its own LocalContainerEntityManagerFactoryBean that doesn't include any customer entity
https://github.com/kiegroup/droolsjbpm-integration/blob/master/kie-spring-boot/kie-spring-boot-autoconfiguration/jbpm-spring-boot-autoconfiguration/src/main/java/org/jbpm/springboot/autoconfigure/JBPMAutoConfiguration.java#L116