3 Replies Latest reply on Jul 17, 2012 7:02 AM by Pedro Gonçalves

    Jbpm5.3.0.Final persistence session information

    gigazhang Newbie

      Jbpm5.3.0.Final

       

      spring.xml

       

      <drools:ksession id="ksession" type="stateful" kbase="kbase" node="node">

              <drools:configuration>

                  <drools:jpa-persistence>

                      <drools:transaction-manager ref="transactionManager" />

                      <drools:entity-manager-factory ref="entityManagerFactory" />

                  </drools:jpa-persistence>

              </drools:configuration>

          </drools:ksession>

       

      JBPMHelper.java

       

      AsyncMinaHTWorkItemHandler taskHandler = new AsyncMinaHTWorkItemHandler(ksession);

      taskClient.disconnect();

      ksession.getWorkItemManager().registerWorkItemHandler("Human Task", taskHandler);

      new JPAWorkingMemoryDbLogger(ksession);

       

      The session information and log  information can't be saved into db;

       

      The task information is saved in the db;

       

      how to resovle this?