Checked into trunk, 2.1.1 is pending.
CopyPolicy.CASCADE_TREE value is changed (the former value was the same
as
CASCADE_ALL_PARTS);
Added tests for cascade depth NO_CASCADE, CASCADE_PRIVATE_PARTS,
CASCADE_ALL_PARTS to both
org.eclipse.persistence.testing.tests.jpa.fetchgroups.SimpleSerializeFetchGroupTests
and
org.eclipse.persistence.testing.tests.jpa.fieldaccess.fetchgroups.SimpleSerializeFetchGroupTests.
However in fieldaccess case had to comment out CASCADE_ALL_PARTS test
because
of Bug 319426 - Original and copy share
ValueHolder.
On 07/07/2010 4:37 PM, Andrei Ilitchev wrote:
Checked
into trunk, 2.1.1 is pending.
Bug 316242 - CopyGroup.CASCADE_TREE does not reset PK values on nested
entities
Bug 316241 - ObjectBuilder copyObject(Object original, CopyGroup
copyGroup) copies all mappings even when CASCADE_PRIVATE_PARTS
configured
In both SimpleSerializeFetchGroupTests and
fieldaccess.SimpleSerializeFetchGroupTests added
copyWithPk and copyWithoutPk for bug 316242;
copyCascadePrivateParts for bug 316241.
Also fixed TransactionTests in
examples/jpa.employee/eclipselink.example.jpa.employee.testing
On 07/07/2010 3:59 PM, Andrei Ilitchev wrote:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=316242
Ready for review.
The fix + some tests + fixed employee.xml example.
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev
|