IQuery.SetResultTransformer() doesn't work
------------------------------------------
Key: NH-775
URL: http://jira.nhibernate.org/browse/NH-775
Project: NHibernate
Type: Bug
Components: Core
Versions: 1.2.0.Beta1
Reporter: Dario Cecere
Priority: Minor
(already posted on forum and approved as bug by Sergey)
NHibernate does not call the IResultTransformer Interface Object within a situation like this:
IQuery q = oz.CreateQuery("select users.Username, roles from Domain.EUser as users inner join users.Roles as roles where users.Username = 'admin'");
q = q.SetResultTransformer(o);
IEnumerable l = q.Enumerable();
The same with List(), and i figure also with generic-methods
Hope i can help more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nhibernate.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
|