[jboss-user] [JBoss Seam] - Re: What is the difference between EJB and POJO transactions

christian.bauer@jboss.com do-not-reply at jboss.com
Mon Apr 23 11:44:03 EDT 2007


Maybe what is also interesting is this:

   /**
    * The transaction propagation type.
    * 
    * @return REQUIRED by default
    */
   TransactionPropagationType value() default TransactionPropagationType.REQUIRED;

So if you just put @Transactional() on a bean or a method, it means Seam will actually start a transaction if none is active. That wouldn't happen if you have the right phase listener.


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

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



More information about the jboss-user mailing list