Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-2483

Spring+JPA(hibernate)+JBPM4 can not integrated

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • jBPM 4.0
    • None

      I'm using JPA (hibernate implementation) so I would like to know how can I integrate them.

      spring applicationContext.xml
      <bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"
      p:dataSource-ref="dataSource">
      <property name="jpaVendorAdapter">
      <bean class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter">
      <property name="showSql" value="true" />
      <property name="generateDdl" value="true" />
      <property name="databasePlatform" value="${hibernate.dialect}" />
      </bean>
      </property>
      </bean>

      jbpm.cfg.xml
      <process-engine-context>
      <command-service>
      <retry-interceptor />
      <environment-interceptor />
      <spring-transaction-interceptor />
      </command-service>
      </process-engine-context>

      <transaction-context>
      <transaction />
      <hibernate-session current="true" />
      </transaction-context>

            Unassigned Unassigned
            wen3062_jira fengwen li (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: