you are welcome!

2009/10/27 Bobby Johnson <[email protected]>

> thank you for the help.
>
>
> On Tue, Oct 27, 2009 at 10:23 AM, Fabio Maulo <[email protected]>wrote:
>
>> What?
>>
>>
>> 2009/10/27 Bobby Johnson <[email protected]>
>>
>>> Thanks, Fabio. Your a peach!
>>>
>>> On Tue, Oct 27, 2009 at 9:08 AM, Fabio Maulo <[email protected]>wrote:
>>>
>>>> select distinct c from Customer c , elements(c.Orders) o where
>>>> o.OrderDate > :orderDate
>>>>
>>>> The BR is reported in releasenotes.txt
>>>>
>>>> 2009/10/27 Bobby Johnson <[email protected]>
>>>>
>>>> Hi all,
>>>>>
>>>>> I am upgrading an application that has a handful of HQL queries. I have
>>>>> been able to solve all of my errors with exception to this one. Here is 
>>>>> the
>>>>> query:
>>>>>
>>>>> select distinct c from Customer c , c.Orders.elements o where
>>>>> o.OrderDate > :orderDate
>>>>>
>>>>>
>>>>> and the error:
>>>>>
>>>>>
>>>>> error: NHibernate.Hql.Ast.ANTLR.QuerySyntaxException: c.Orders.elements
>>>>> is not mapped [select distinct c from DataTransfer.Customer c ,
>>>>> c.Orders.elements o where o.OrderDate > :orderDate]
>>>>>
>>>>> Anyone have pointers on why?
>>>>>
>>>>>
>>>>> --
>>>>> "The explanation requiring the fewest assumptions is most likely to be
>>>>> correct."
>>>>>
>>>>> - Occam’s Razor
>>>>> http://en.wikipedia.org/wiki/Occam's_Razor<http://en.wikipedia.org/wiki/Occam%27s_Razor>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Fabio Maulo
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> "The explanation requiring the fewest assumptions is most likely to be
>>> correct."
>>>
>>> - Occam’s Razor
>>> http://en.wikipedia.org/wiki/Occam's_Razor<http://en.wikipedia.org/wiki/Occam%27s_Razor>
>>>
>>>
>>>
>>
>>
>> --
>> Fabio Maulo
>>
>>
>>
>
>
> --
> "The explanation requiring the fewest assumptions is most likely to be
> correct."
>
> - Occam’s Razor
> http://en.wikipedia.org/wiki/Occam's_Razor
>
> >
>


-- 
Fabio Maulo

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