-
Bug
-
Resolution: Done
-
Major
-
None
-
6.0.0.Alpha9
-
None
Here (https://github.com/droolsjbpm/drools/blob/master/drools-persistence-jpa/src/main/java/org/drools/persistence/jpa/KnowledgeStoreServiceImpl.java#L127) is incompatible constructor with KnowledgeBase instead of KieBase which causes the exception. Other methods that are using the constructor should be fixed as well.
FYI I create the session this way:
ksession = JPAKnowledgeService.newStatefulKnowledgeSession(kbase, null, env); // where kbase is instance of injected KieBase