Hi,

I have 2 tables joined with a FK wich can be null.

Ex:
Table A
    ID int PK not null
    ...

Table B
    ID               int  PK  not null
    Table_A_ID  int        null           (FK to table A)
    ...

At mapping of Table B I have
<many-to-one column="Table_a_ID" name="TableA" class="TableA" 
not-null="false" />

When I'm trying to get all records from Table B I only get records that 
have Table_A_ID column with not null values.

Anyone could help me?
Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/nhusers?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to