Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [eclipselink-dev] Bug inAbstractTransactionController.addUnitOfWorksetting null insteadof the UOW

See https://bugs.eclipse.org/bugs/show_bug.cgi?id=281518

 

 

From: eclipselink-dev-bounces@xxxxxxxxxxx [mailto:eclipselink-dev-bounces@xxxxxxxxxxx] On Behalf Of Guy Pelletier
Sent: Friday, June 12, 2009 8:36 AM
To: Dev mailing list for Eclipse Persistence Services
Subject: Re: [eclipselink-dev] Bug inAbstractTransactionController.addUnitOfWorksetting null insteadof the UOW

 

Hi Sebestian,

 

Please enter a bug with a reproducible test case exposing the error. Any changes to code must be done against a bug number.

 

Thanks,

Guy

----- Original Message -----

Sent: Thursday, June 11, 2009 11:51 PM

Subject: [eclipselink-dev] Bug in AbstractTransactionController.addUnitOfWorksetting null instead of the UOW

 

Below you can see a bug in AbstractTransactionController.addUnitOfWork setting null instead of the UOW.

 

/**

     * INTERNAL:

     * Add a UnitOfWork object to the Hashtable keyed on the external transaction object.

     */

    public void addUnitOfWork(Object transactionKey, UnitOfWorkImpl activeUnitOfWork) {

        this.activeUnitOfWorkThreadLocal.set(null);

        getUnitsOfWork().put(transactionKey, activeUnitOfWork);

    }


_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev


Back to the top