afaicr I coded all the registration depending on that test.  it is the reason I put the "hadTxSync" in the first place.
 
If there a registration that overlooks this then it is a mistake.  Please put the test there.
 
marcf
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Bill Burke
Sent: Monday, August 06, 2001 11:11 AM
To: Jboss-Development@Lists. Sourceforge. Net
Subject: [JBoss-dev] Should ctx be registered with tx more than once?

In EntitySynchronizationInterceptor, it seems that a ctx could be registered more than once.
 
In register() I think the logic should be
 
if (!ctx.hasTxSynchronization()) register(ctx, tx);
 
Bill

Reply via email to