I find the solution for this problem: we don t have to put as in the select. So, the querry will be like:
from Update upd join upd.AirportsProduct as pdt On Aug 30, 11:45 am, Samer Limam <[email protected]> wrote: > i have just upgrade to NH 3.2 from 2.2 version. i have in my > application some hql querry which worked fine. But now with 3.2 it no > longer work. I try an easy example without join clause and it worked > fine. But when i put join in the querry i have 'Exception of type > 'Antlr.Runtime.NoViableAltException' was thrown. near line 1, column > 5' > > here is the example > > string hqlQuery = "from Update as upd join upd.AirportsProduct as > pdt"; > IList lst = session.CreateQuery(hqlQuery).List(); -- 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.
