[
https://jira.jboss.org/jira/browse/JBPM-2483?page=com.atlassian.jira.plug...
]
Tom Baeyens updated JBPM-2483:
------------------------------
Fix Version/s: jBPM 4.x
(was: jBPM 4.1)
setting fix for 4.x as jira freeze for this release is already past
Spring+JPA(hibernate)+JBPM4 can not integrated
----------------------------------------------
Key: JBPM-2483
URL:
https://jira.jboss.org/jira/browse/JBPM-2483
Project: jBPM
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: jBPM 4.0
Environment: spring 2.5, jpa 1.0 , jbpm4.0
Reporter: fengwen li
Fix For: jBPM 4.x
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>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira