Many to One (BelongTo in AR)

On Tue, Oct 28, 2008 at 7:56 AM, Ayende Rahien <[EMAIL PROTECTED]> wrote:

> Are you talking about many to one or one to many
>
>
> On Tue, Oct 28, 2008 at 2:54 PM, Craig Neuwirt <[EMAIL PROTECTED]> wrote:
>
>> Associations marked as not-null must always be there so wouldn't it seem
>> reasonable to use an inner join in that scenario?
>>
>> craig
>>
>>
>> On Tue, Oct 28, 2008 at 12:52 AM, Ayende Rahien <[EMAIL PROTECTED]>wrote:
>>
>>> The reason it uses left outer join is that if you don't have any
>>> associations, and it uses an inner join, it will also filter the root entity
>>>
>>>
>>> On Mon, Oct 27, 2008 at 8:27 PM, Craig Neuwirt <[EMAIL PROTECTED]>wrote:
>>>
>>>> Is there a way to request NHibernate use Inner Joins for Many To One
>>>> mappings instead of Left Outer Joins? I assumed if I made the relationship
>>>> not null, it might do that automatically.
>>>>
>>>> thanks,
>>>>   craig
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>>
>
> >
>

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