Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-dev] Bug in AbstractTransactionController.addUnitOfWork setting 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);

    }


Back to the top