I have figured out the problem and it may or may not be nHibernate. I was executing query.List<long>();
When I execute query.List() instead of the templated version, I had no problem. I wonder if the difference is in nHibernate code or is it just the generic versions are inherently inefficient. On Apr 13, 4:02 am, kor <[email protected]> wrote: > what and how many parameters are you using with hql query? > > do you can to try to do the same select with a native sql query ? -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
