I am looking for new feature "Multitable entities in NHibernate" added in 2.0.0. I gone through the link 'http://www.ayende.com/Blog/archive/2007/04/24/Multi-Table-Entities-in-NHibernate.aspx' and was able to get expected result for the entities having relationship as ONE-To-ONE.
But if I try same feture for the entities having ONE-TO-MANY relationship. like if Person has one column name Address1Uid that refers to AddressUid which is primary key of Address table,same doesn't work.
As the query executed is
SELECT ......... FROM Person Per
INNER JOIN Address Add on Add.AddressUid=Per.PersonUid
and this will always return null, as PersonUid is not primary key of address.
My question here is that, is this feature only for one-to-one relationship?
If yes then
please to go
http://www.hibernate.org/hib_docs/v3/re ... ation-join
Topic 5.1.18. join
what sense does attribute 'fetch' make.
Please correct me if I have missed out on something.