You are integrating NHV with NH and in the Save/Update NH is working before
NHV.

2009/10/19 Fernando Sosa Balaguer <[email protected]>

>
> OK, i wrote it a little confusing. Sorry.
>
> If I set a null value to a property with NHV not-null constraint, and
> try to save the object, a PropertyValueException["not-null property
> references a null or transient value"] is thrown instead of
> InvalidStateException.
>
>
> On Oct 15, 12:42 pm, Fabio Maulo <[email protected]> wrote:
> > what ?
> >
> > 2009/10/15 Fernando Sosa Balaguer <[email protected]>
> >
> >
> >
> > > Anybody seen this?
> > > A not-null constraint produces a PropertyValueException ("not-null
> > > property references a null or transient value"} when listeners are
> > > configured. Happens in 1.2.0 beta2
> >
> > > It must throw an InvalidStateException, doesn't it?
> >
> > > You can test it in NHibernate.Validator.Demo.NHI setting
> > > customer.LastName = null
> >
> > > Ideas?
> >
> > --
> > Fabio Maulo
> >
>


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