[Gems-users] About nested transaction


Date: Fri, 3 Apr 2009 03:56:05 -0600
From: BYONG WU CHONG <bernard.chong@xxxxxxxx>
Subject: [Gems-users] About nested transaction

Hi,

 

As far as I know, GEMS v2.1 does not support nested transaction, right?

 

What will happen to EE/EL/LL TM if we call

 

BEGIN_TRANSACTION(1);

BEGIN_TRANSACTION(1);

BEGIN_TRANSACTION(1);

COMMIT_TRANSACTION(1);

COMMIT_TRANSACTION(1);

COMMIT_TRANSACTION(1);

 

Like this?

 

I tested this code and there was no problem, but I want to make sure on this. It is treated as one large transaction, right?

Otherwise, do we have to be careful not to make multiple “BEGIN_TRANSACTION(n);” calls or is GEMS smart enough to ignore multiple BEGIN_TRANSACTIONs?

 

Thanks in advance.

 

- Byong Wu "Bernard" Chong

bernard.chong@xxxxxxxx

bchong@xxxxxxxxxxx

 

[← Prev in Thread] Current Thread [Next in Thread→]
  • [Gems-users] About nested transaction, BYONG WU CHONG <=