[jboss-user] [JBoss Seam] - Re: Design question with Rich GWT Ajax Client
sebastiendeg
do-not-reply at jboss.com
Wed Jan 9 14:08:17 EST 2008
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#4118412
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4118412
More information about the jboss-user
mailing list