Really? Nested, active transactions should not be allowed. If you are talking about Resource Local transactions, the begin() method should throw an exception if the Transaction is already active. And, in the case of managed JTA transactions, this not be allowed either. There are cases where a JTA transaction is suspended to allow another UOW to complete and then the outer transaction gets resumed. But, nesting of active transactions on the same thread is not a good idea.
On Wed, Oct 27, 2010 at 1:14 AM, C N Davies <[email protected]> wrote: > I don't seem to be able to find this in the docs anywhere but is it > possible > to use nested transactions in OpenJPA 2.x, it seems to work on some test > code I wrote but is there any rules that need to be followed ? > > > > Thanks > > > > Chris > >
