This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Dear Mindscape! I would like to ask some help about joining. My custom class, model is attached to this post, and here is the sql that is wrong, but I don't know why...
This is the model:
And this is the class:
The generated sql: ... FROM address this_ inner join postcode this_1_ on this_. Id = this_1_.Id left outer join dictionaryitem customdict2_ This is the wrong line!!!! Can you help me? |
|
|
I'm a bit confused. Your class code doesn't seem to correspond to the entities shown in the diagram. Also, what is CustomDictionaryItem? Also, I don't think we ever emit <join> elements or property-ref attributes. Is this a hand-coded class? If so, sorry, we can't offer support for arbitrary NHibernate code, only for the designer -- you'll probably have more luck on the NHibernate mailing list.
|
|