Hi,
actually it did not help.
Like stated at http://www.jboss.com/index.html?module=bbop=viewtopict=108409,
since 2 threads are in game: JMS and JBPM then will join the race, so sometimes
it will pass, sometimes won't. Actually that made a big problem to me, so I
would strongly advice to either
Milan,
Thanks very much for the follow-up!
-Ed Staub
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4045425#4045425
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4045425
___
Well, let me answer my own question, as usual:)
This link helped a lot:
http://pveentjer.wordpress.com/2007/02/19/sharing-hibernate-entities-between-threads/
So, in problematic Message consumer, which has session bound to its own thread
with different state than in DB, 1 magic line should be