persistence@glassfish.java.net

entity-persistence update

From: Tom Ware <tom.ware_at_oracle.com>
Date: Tue, 25 Jul 2006 10:50:01 -0400

The following will be checked in:

The transaction names corespond to the diff files in the attached jar:

- lhillis_essentials_gf830_060721 Fix for gf bug 830 - Attempting to
merge an entity after it has been removed now throws
IllegalArgumentException. Also, merge(null), persist(null) and
contains(null) now throw IllegalArgumentExceptions (all for spec
compliance.)
- gyorke_fix-uow-in-txn-does-not-use-shared-cache_060719.merge_log Uow
no longer begins early transaction if there are no changes
- lhillis_essentials_gf721_060719 Fix for gf bug 721 -
entityManager.find(Class, null) now throws IllegalArgumentException for
null PK.

Note: I have also made some changes to the entity-persistence-tests
build scripts to allow the tests to run twice in a row after the check
in for 668 and 716. These changes enabled the generation of foreign key
constraints with the DDL Generation feature. These foreign key
constraints were incompatible with the TableCreator used to create the
tables in one of the models defined by orm.xml. The DDL Generation
tests have been moved to a separate jar so they no longer make use of
the orm.xml that is included in the main jar.

-Tom