Originally posted by Avianu Sud:
So if a public method "parent" has a attribute of "Requires New", would the private method suspend the "parent" transaction and start its own.
As mentioned by Paul private methods do not start a new transaction so in the above case private method execute in the same Tx context as the public method. The Tx is not suspended.
and if the same private method is called from a "parent2" with attribute of "Mandatory", the private method will "Join" the transaction?
Same here.
I thought private methods behaved like the "supports" attribute, ie. If there is a existing transaction, they join it. If there is no transaction, they do create a new transaction.
You could say that private method has "support" Tx attribute but "supports" does not create transaction as you have mentioned above.