More info on what I'm doing within the
customSaveOrUpdateEventListener:
I'm doing a session.Get() on the same object to get the old version of
that object, and save them to a changelog object.
so first I do a get, I place all values of the previous state of that
object into a changelog object,
then I evict that previous state and do a performSaveOrUpdate.

on the Session.SaveOrUpdate() (before the eventlistener is triggered)
I'm using a transaction.

On 12 mei, 08:53, Peter Derwa <[email protected]> wrote:
> Update:
>
> I just added a PreUpdateEventListener, and the one to many object
> isn't even passing through the PreUpdateEventListener.
> while it is passing through the base.PerformSaveOrUpdate() in the
> CustomSaveOrUpdateEventListener..
> any ideas?
>
> On 11 mei, 07:57, Peter Derwa <[email protected]> wrote:
>
> > Hi,
>
> > When I'm trying to save a bag of one to many objects by saving the
> > parent instance, on the base.PerformSaveOrUpdate(event) it's not
> > saving my one to many object change.
> > It's giving the following message when passing the method:
>
> > NHibernate.Event.Default.AbstractSaveEventListener - detached instance
> > of: ET.Deap.Common.Model.TestDataKba
>
> > --
> > 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 
> > athttp://groups.google.com/group/nhusers?hl=en.
>
> --
> 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 
> athttp://groups.google.com/group/nhusers?hl=en.

-- 
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.

Reply via email to