Not an Issue
Details
Details
Assignee
Unassigned
UnassignedReporter
Onur Gumus
Onur GumusComponents
Affects versions
Priority
Who's Looking?
Open Who's Looking?
Created April 21, 2011 at 11:48 AM
Updated April 22, 2011 at 12:56 PM
Resolved April 22, 2011 at 12:56 PM
Hello, it seems the following mapping won't work
<many-to-one formula="(select top 1 id1, id2 from SomeEntity")/>
in this case id1 and id2 are composite Id's for SomeEntity. NHibernate will complain it was expecting two columns while validating the mapping.