Easy fix. When configuring your session factory, replace the default
& auto flush event listeners with the classes below.
[Serializable]
public class FlushFixEventListener : DefaultFlushEventListener {
public override void OnFlush(FlushEvent @event) {
try {
base.OnFlush(@event);
}
catch (AssertionFailure) {
// throw away
}
}
}
public class AutoFlushFixEventListener :
DefaultAutoFlushEventListener {
public override void OnAutoFlush(AutoFlushEvent @event) {
try {
base.OnAutoFlush(@event);
}
catch (AssertionFailure) {
}
}
}
On Feb 16, 5:49 pm, kimsk112 <[email protected]> wrote:
> I got the same problem too. I have to remove the
> PreUpdateEventListener for now.
> --karlkim
>
> On Jan 8, 11:29 am, epitka <[email protected]> wrote:
>
>
>
>
>
> > No, I just gave up and added a mapped field so I don't have to load
> > anything in PreUpdate.
>
> > On Dec 15 2009, 1:07 am, acl123 <[email protected]> wrote:
>
> > > Exactly the same problem here :)
>
> > > On Dec 3, 8:05 pm, Revin <[email protected]> wrote:
>
> > > > Hiepitka,
>
> > > > Do you have any luck with this problem?
> > > > I got the same error message...
>
> > > > Thanks...
--
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.