persistence@glassfish.java.net

Fix for GF 2621 checked in

From: Tom Ware <tom.ware_at_oracle.com>
Date: Tue, 15 May 2007 14:11:18 -0400

https://glassfish.dev.java.net/issues/show_bug.cgi?id=2621

Issue number: 2621
Obtained from: TopLink
Submitted by: Tom Ware
Reviewed by: Gordon Yorke

Fixes for GF 2621.

Added change to RepeatableWriteUnitOfWork to cause new objects to be
cached so we will find them when a second merge occurs with the same key.

Fixed UOWImpl to correct calculate whether the PK contains null when
merging.

Tested with QuickLook and entity-persistence-tests

testDoubleMerge() added to EntityManagerJUnitTestSuite