persistence@glassfish.java.net

Re1: [Fwd: [Issue 1021] OneToMany Cascade Persist Failure due to Insert Order]

From: Markus Fuchs <Markus.Fuchs_at_Sun.COM>
Date: Mon, 09 Oct 2006 16:27:37 -0700

Hi Gordon,

> The two methods creating ObjectChangeSets are
>
> ObjectBuilder.createObjectChangeSet
> UnitOfWorkChangeSet.findOrIntegrateObjectChangeSet
>
> Looks like the descriptor is not available in the
> UnitOfWorkChangeSet.findOrIntegrateObjectChangeSet call...
>
I guess the classType can be taken from the "toFind" argument to
findOrIntegrateObjectChangeSet! ;-) Looks like the second argument,
"mergeFromChangeSet" is never used.

-- markus.