Nested queries are not really supported.

Tuna Toksöz
Eternal sunshine of the open source mind.

http://devlicio.us/blogs/tuna_toksoz
http://tunatoksoz.com
http://twitter.com/tehlike




On Thu, Aug 6, 2009 at 4:00 PM, nicco80 <[email protected]> wrote:

>
> Hi,
> when performing a linq.select on a quite nested query i get an
> adoexception
> "could not execute query" with a NullReferenceException as an
> innerexception -
> has anybody seen this stacktrace already?
>
> (innerexception):
>   at NHibernate.Param.NamedParameterSpecification.Bind(IDbCommand
> statement, QueryParameters qp, ISessionImplementor session, Int32
> position)
>   at NHibernate.Hql.Ast.ANTLR.Loader.QueryLoader.BindParameterValues
> (IDbCommand statement, QueryParameters queryParameters, Int32
> startIndex, ISessionImplementor session)
>   at NHibernate.Loader.Loader.PrepareQueryCommand(QueryParameters
> queryParameters, Boolean scroll, ISessionImplementor session)
>   at NHibernate.Loader.Loader.DoQuery(ISessionImplementor session,
> QueryParameters queryParameters, Boolean returnProxies)
>   at NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections
> (ISessionImplementor session, QueryParameters queryParameters, Boolean
> returnProxies)
>   at NHibernate.Loader.Loader.DoList(ISessionImplementor session,
> QueryParameters queryParameters)
>
> thanks,
> regards nico
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to