Final try:

<one-to-one name="DocumentFile" cascade="all-delete-orphan"
lazy="proxy" constrained="true" />

WORKS!!! Why is this the case can anyone shed some light why
constrained="true" on the Document worked?

On Thu, Nov 13, 2008 at 9:28 PM, Stefan Sedich <[EMAIL PROTECTED]> wrote:
> Arggggggggggg I was wrong this does not work. Seriously if I could
> throw NH out the window right now I would hehe. :\
>
> On Thu, Nov 13, 2008 at 9:25 PM, Fabio Maulo <[EMAIL PROTECTED]> wrote:
>> property lazynees is not supported in NH basically because we need
>> FieldInterceptors (AFIK not experimented in .NET)
>>
>> 2008/11/13 codemonkey <[EMAIL PROTECTED]>
>>>
>>> Is this possible in NH? I have googled forever and cannot find any
>>> info at all? My only option it seems is to use a seperate table to my
>>> image and map using a one-to-one with lazy set tot true.
>>>
>>> Any advice would be good..
>>>
>>>
>>> Cheers
>>> Stefan
>>>
>>
>>
>>
>> --
>> Fabio Maulo
>>
>> >>
>>
>
>
>
> --
> Stefan Sedich
> Software Developer
> http://weblogs.asp.net/stefansedich
>



-- 
Stefan Sedich
Software Developer
http://weblogs.asp.net/stefansedich

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