OK, thats definitely Bad.
You should always use @PersistenceContext inside a REQUIRES_NEW bean, and get a
container-managed PC.
The Seam-managed PC is associated with the outer (suspended) tx managed by Seam. You
shouldn't associate it with a new one. Its only allowed to be associated with one
transaction at a time.
I wish there was an easy way for me to detect cases like this, but its actually very
difficult, because all I have is a UserTransaction, and no Transaction.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055358#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...