Wednesday, November 13, 2002 09:12 AM
this will all run in a transaction. transaction attributes are not propagated, though. if you are in SLSB and invoking a method with transaction attribute set to REQUIRED then you can guarantee that the method will run in the transaction. if the method invokes another method and that object invokes another method, that operation will run in a transaction unless you are invoking some other EJB that may have a transaction attribute like RequiresNew in which case new transaction will be created until that method returns to the caller. Overall, in your example, entire method invocation will run inside a transaction.