[jboss-user] [JBoss Seam] - Re: Transaction Demarcation

toni do-not-reply at jboss.com
Fri May 4 04:30:45 EDT 2007


"christian.bauer at jboss.com" wrote : By the way, you can always use the TransactionalSeamPhaseListener and @TransactionAttribute(REQUIRES_NEW) to suspend the existing transaction during a particular method call in INVOKE APPLICATION. Your method then executes in a new transaction context - which is committed when the method returns.
  | 

Have you actually tried that? I'm asking because it definitely does not work with my application (Seam 1.1, JBoss 4.0.5).

I also recall that somehwere Gavin notes that in particular this type of transaction attribute is not supported by the @Transactional notation, which I guess you would have to use in Seam instead of @TransactionAttribute?!

http://docs.jboss.com/seam/1.1.1.GA/api/org/jboss/seam/annotations/TransactionPropagationType.html

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043088#4043088

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043088



More information about the jboss-user mailing list