|
From: Onur G. (JIRA) <nh...@gm...> - 2011-04-21 18:50:35
|
Formula on Many-to-one pointing to a composite-keyed entity don't work
----------------------------------------------------------------------
Key: NH-2665
URL: http://216.121.112.228/browse/NH-2665
Project: NHibernate
Issue Type: Bug
Components: Core
Affects Versions: 3.2.0Alpha2
Reporter: Onur Gumus
Priority: Major
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|