thank you both guys, i really appreciate it ;-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922722#3922722
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3922722
-
Maybe I can try to be at least a little useful then, after that bad advice.
;-)
Using JBoss 4.0.3 I have:
|
hibernate.transaction.factory_class=org.hibernate.transaction.JTATransactionFactory
|
hibernate.transaction.manager_lookup_class=org.hibernate.transaction.JBossTransactionManager
This is a Oracle / JBoss configuration:
|
|
|
|
|
|
| java:jdbc//JBPM
| org.hibernate.dialect.Oracle9Dialect
| false
|
| org.hibernate.transaction.CMTTransactionFactory
|
|
|
thanks for the replies.
yes, changing the MDB xdoclet settings (transaction-type="Bean" ) is not what
i need :)
RAlfoeldi, i d appreciate it if you could paste the hibernate here, i havent
get it to work yet :S
thanks again.
View the original post :
http://www.jboss.com/index.html?module=bb
... which you wouldn't want to do as your workflow would then be in another
transaction then the acceptance of the message and you be losing all
transactional security.
Quote that as gospel :-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922570#3922570
R
Alternatively, you could probably use xdoclet as:
[MDB xdoclet settings: transaction-type="Bean" ]
Don't quote that as gospel; just guessing. :)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922563#3922563
Reply to the post :
http://www.jboss.com/index.h
You will need to configure Hibernate to use container managed transactions. Its
in the docs somewhere. If you haven't found it by then, I'll post it in a few
hours (sorry, not in the office right now.)
Greetings
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=
thanks, though unfortunately i dont know how to implement what you suggest in
my case...
If i am right, the problem occurs because i have stated that the MDB
transactions are handled
by the container (JBOSS)
[MDB xdoclet settings: transaction-type="Container" ]
Anyone knows how to make it w
I've had similar errors using EJB Timers. I believe what is going on is that
your application server is managing your transactions but that is not getting
communicated to jBPM's Hibernate.
Since my timer's logic was simple and purely jBPM related, I solved the problem
by letting the bean manag