Hi All, I am a bit confused about RequriesNew Transaction Atribute and Nested transaction. Does anybody know the difference bet them? Thanks, ravi
posted 12 years ago
The RequiresNew transaction attribute tells the container to suspend the current transaction and start a new transaction for this particular invocation. Once it's finished, the previous transaction is resumed. A nested transaction would mean that the outcome of the second transaction would have an effect on the first transaction, which is not the case in J2EE because of this.