Oh, you meant on *save*.
Well, we do validate the objects first, so it wouldn't make a difference in
our case.
Diego
On Tue, Aug 10, 2010 at 10:42, Fabio Maulo <[email protected]> wrote:
> NH check properties declared as not-null="true" before hit DB
>
> On Tue, Aug 10, 2010 at 10:10 AM, Diego Mijelshon
> <[email protected]>wrote:
>
>> I see... but that only seems to be the case if the eager fetch is also
>> declared in the mappings.
>> Are there any other semantic differences?
>> According to Fabio, not-null can be used to avoid a DB hit... but in which
>> cases?
>>
>> Diego
>>
>>
>>
>> On Tue, Aug 10, 2010 at 01:53, Dmitry Starosta <[email protected]
>> > wrote:
>>
>>> A not-null eager association will generate an inner join instead of
>>> left outer join.
>>>
>>> --
>>> 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]<nhusers%[email protected]>
>>> .
>>> For more options, visit this group at
>>> http://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]<nhusers%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/nhusers?hl=en.
>>
>
>
>
> --
> 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]<nhusers%[email protected]>
> .
> For more options, visit this group at
> http://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.