i am facing it in version's 1.0.0.0 , 1.2.1 , 2.0.1 , in all versions
it is null for me !!
maybe something should be configured in some ways ( could be find from
the source code of nhibernate)



On May 29, 3:30 pm, Fabio Maulo <[email protected]> wrote:
> probably bug. Please JIRA it.
>
> 2009/5/29 Fred F. <[email protected]>
>
>
>
>
>
> > Hi,
>
> > I've postet a question in this thread (http://groups.google.de/group/
> > nhusers/browse_thread/thread/643f89626633c2c8/431cd21218c3233e) and
> > got a very good hint for events/listeners.
>
> > I've implemented a PreUpdateEventListener which fires when I try to
> > update my business objects. I can access to the argument of the type
> > "PreUpdateEvent" which has a "OldState" property. This shall contain
> > my object as it was before I've updated my object, but it is always
> > nothing/null.
>
> > I've tried to handle my sessions in two different ways: Closing my
> > session after each transaction or leave it open while my application
> > is open. But there is no difference: OldState is always null.
>
> > Do I have to take care of something else so I can access my oldstate?
>
> > Thanks
> > Fred F.
>
> --
> Fabio Maulo
--~--~---------~--~----~------------~-------~--~----~
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