Nested Transaction using Spring and Hibernate?

First, "nested" transactions, in the sense that there are multiple running transactions depending on each other, is not supported, afaik.

First, "nested" transactions, in the sense that there are multiple running transactions depending on each other, is not supported, afaik. Then, propagation=REQUIRED means that all methods with that propagation will: start a new transaction if there is none exists participate in an existing transaction if such exists. This means that in your scenario, a failure in F would rollback the entire transaction (because it is a single transaction, started by A, and propagated to other methods).

I would have completely agreed with you until I read (somewhere - am unable to find where it was) that commit happens as soon as the method completes. I think I am wrong in the understanding here. When does the actual commit happen (we don't have to do explicitly do that.

Right? )? – seminoobish Aug 23 at 7:29 the commit happens when the method that started the transaction completes.It is A in this case – Bozho Aug 23 at 7:42 okay.

Great. Thank you so much. – seminoobish Aug 23 at 8:00.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions