|
From: Richard B. (JIRA) <nh...@gm...> - 2010-10-10 07:56:40
|
[ http://216.121.112.228/browse/NH-2328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20007#action_20007 ]
Richard Brown commented on NH-2328:
-----------------------------------
Hi Michael,
Sorry for not reading the details more closely the first time.
I've update the code to work with QueryOver now (rev 5243, beta 2), however I struggled to get it to work with Linq. (Tests for each have been added to the repo, with the Linq one ignored.)
Note, if you remove the meta-type="int" from the mapping, I think the Linq provider works fine too. I think the problem comes from NH exposing the underlying DB type (meta-type) all the way through to HQL query string (it doesn't appear to do this for ICriteria). Fixing that would (I expect) require a breaking change to HQL.
Can you let us know if that's enough for us to close the JIRA?
Thanks,
Richard
> Linq query on <Any/> fails
> --------------------------
>
> Key: NH-2328
> URL: http://216.121.112.228/browse/NH-2328
> Project: NHibernate
> Issue Type: Bug
> Components: QueryOver
> Affects Versions: 3.0.0.Alpha2
> Reporter: Michael Kobaly
> Assignee: Richard Brown
> Priority: Major
> Attachments: NHibernate.Test.zip
>
>
> Please read NHUsers group posting here for description of problem.
> http://groups.google.com/group/nhusers/browse_thread/thread/fa831bd703842e1e
> I excluded the lib folder from the zip file since upload says not to include dlls. I am using NH 3 Alpha 2 with all supporting dlls. First time posting bug..sorry in advance if I am doing it wrong.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|