Are you using JPA or Hibernate? In the first case, these kind of errors are to
be expected since we've not yet implemented JPA integration.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249693#4249693
Reply to the post :
JPA
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249703#4249703
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249703
___
jboss-user mailing list
jboss-user@lists.jboss.org
i post this as a bug:
https://jira.jboss.org/jira/browse/JBPM-2483
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249145#4249145
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249145
Removing the current=true attribute:
Caused by: org.hibernate.HibernateException: No CurrentSessionContext
configured!
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4248424#4248424
Reply to the post :
When using:
command-service
|retry-interceptor /
|environment-interceptor /
|spring-transaction-interceptor current=true /
| /command-service
Results in:
No existing transaction found for transaction marked with propagation
'mandatory'
View the original post :
To support the transaction need, I'm using:
bean id=transactionManager
class=org.springframework.orm.jpa.JpaTransactionManager
|p:entityManagerFactory-ref=entityManagerFactory /
| tx:annotation-driven transaction-manager=transactionManager /
and I've placed the @Transactional
You should remove the current=true attribute.
command-service
retry-interceptor /
environment-interceptor /
spring-transaction-interceptor /
/command-service
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4248269#4248269
Reply to the post :
My case is a little diferent. I'm using JPA (hibernate implementation) so I
would like to know how can I stop depending on jbpm.hibernate.cfg.xml.
I tried to expose my sessionFactory through this bean:
bean id=entityManagerFactory
try to add current=true to the spring interceptor.
|command-service
| retry-interceptor /
| environment-interceptor /
| spring-transaction-interceptor current=true /
| /command-service
View the
try
command-service
| retry-interceptor /
| environment-interceptor /
| spring-transaction-interceptor /
| /command-service
The environment-interceptor will expose the environment. Now the spring
transaction
10 matches
Mail list logo