i made a test program to do this, and the first transaction still goes on.. can you help me with this. i want the first transaction to be suspended till the inner one completes..
i cannot use "not supported", i want the upper method in transaction also.
RequiresNew starts a new independent transaction and suspends the existing one until the new tx commits
I know that req. new would start a new transaction.
The problem is if i start a "requires new" inside a "required", the "required" transaction is suspended, but its transaction timer keeps ticking.. so if the "Requires new" transaction continues beyond time-limit, even the "required" transaction is timed out.
That is my problem, I dont want it that way... any way out?
What you're looking for are nested transactions, which we don't support.