It seems that SeamPhaseListener does lots of stuff for transaction on the with JSF.
When the entitymanager is injected on my SessionBean.
If we are on a JSF request the entityManager look like :
anonymous wrote :
| em = EntityManagerProxy
| em.delegate = EmtityManagerImpl
|
| em.delegate.tx = TransactionImpl
| em.delegate.tx.tx = JDBCTransaction
|
However, if a receive a request an create a ContextualHttpRequest on my custom servlet,
the injected entityManager looks like :
anonymous wrote :
| em = EntityManagerProxy
| em.delegate = EmtityManagerImpl
|
| em.delegate.tx = TransactionImpl
| em.delegate.tx.tx = null
|
The underlying transaction is null !
Think that info can be usefull.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4118412#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...