The JIRA is up again

On Sun, Jul 11, 2010 at 1:06 AM, sasha revzin <[email protected]> wrote:

> http://my.jetscreenshot.com/2777/20100711-gh8d-43kb.jpg
>
>
> On Thu, Jul 8, 2010 at 23:49, Richard Brown (gmail) <
> [email protected]> wrote:
>
>>  Fixed in rev 5002:  http://216.121.112.228/browse/NH-2235
>>
>> Thanks for letting me know about the bug.
>>
>>  *From:* Richard Brown (gmail) <[email protected]>
>> *Sent:* Tuesday, July 06, 2010 8:56 AM
>> *To:* [email protected]
>> *Subject:* Re: [nhusers] JoinQueryOver and SelectList
>>
>> Hi Graeme,
>>
>> That does sound like a bug .... can you raise a JIRA for it?
>>
>> Cheers,
>>     Richard
>>
>>  *From:* Graeme Foster <[email protected]>
>> *Sent:* Monday, July 05, 2010 2:49 PM
>> *To:* [email protected]
>> *Subject:* [nhusers] JoinQueryOver and SelectList
>>
>> HI all,
>>
>> Not sure if this it the right forum or whether it is a bug, but I've just
>> compiled the latest trunk NH 3.0 (and have seen this in older versions
>> as-well), and noticed that when I do a JoinQueryOver that SelectList lets me
>> select properties from the entity I've joined over (at compile time), but at
>> run time the parser is looking for the properties on the root entity which
>> chucks an exception.
>>
>> My entities are pretty simple
>>
>> Blog entity has a User. User entity has FirstName and LastName properties.
>>
>>  var query =
>>     session
>>     QueryOver<Blog>()
>>     JoinQueryOver(o => o.User)
>>     Where(o => o.FirstName == "Graeme")
>>     SelectList(list => list.Select(o => o.LastName))
>>     List<string>();
>>
>> This compiles fine but blows up at runtime - could not resolve property
>> LastName of QueryOverTest.Blog.
>>
>> Cheers,
>>
>> Graeme
>>
>> --
>> 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]<nhusers%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/nhusers?hl=en.
>>
>>  --
>> 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]<nhusers%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/nhusers?hl=en.
>>
>
>  --
> 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]<nhusers%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/nhusers?hl=en.
>



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