Hello all,
I'm running into an issue with this function when trying to merge a
transient parent entity instance (that has a new child), into the persistent
instance
No row with the given identifier exists[ChildEntityName#1]
from the method:
* // Copy the state of the given object onto the persistent
object with the same
// identifier. If there is no persistent instance currently
associated with
// the session, it will be loaded. Return the persistent
instance. If the given
// instance is unsaved, save a copy of and return it as a newly
persistent instance.
// The given instance does not become associated with the
session. This operation
// cascades to associated instances if the association is mapped
with cascade="merge".
// The semantics of this method are defined by JSR-220.*
The parent entity has the child collection mapped with Inverse, not merge.
(actually, i'm using FluentNHibernate, which doesn't even support the merge
attrib ..)
Is this expected behavior?
TIA,
Joe
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/nhusers?hl=en.