From: Michael K. (JIRA) <nh...@gm...> - 2010-09-10 20:45:16
|
Linq query on <Any/> fails -------------------------- Key: NH-2328 URL: http://216.121.112.228/browse/NH-2328 Project: NHibernate Issue Type: Bug Components: Linq Provider Affects Versions: 3.0.0.Alpha2 Reporter: Michael Kobaly 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 |
From: Fabio M. (JIRA) <nh...@gm...> - 2010-09-20 09:48:33
|
[ http://216.121.112.228/browse/NH-2328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fabio Maulo updated NH-2328: ---------------------------- Component/s: (was: Linq Provider) QueryOver Your test is about QueryOver not LINQ. > 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 > 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 |
From: Richard B. (JIRA) <nh...@gm...> - 2010-09-21 12:37:47
|
[ http://216.121.112.228/browse/NH-2328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=19842#action_19842 ] Richard Brown commented on NH-2328: ----------------------------------- Michael, There seems to be a little confusion here. The mail thread suggested you were trying both Linq and QueryOver. You mentioned you got it to work (using a workaround) with QueryOver, but couldn't get it to work with Linq. I also replied with the correct syntax for QueryOver (o => o.GetType() == typeof(myType)) ... and that I'd also updated QueryOver to allow (o => o is myType) syntax. If your problem is with QueryOver, can you confirm that it is now resolved, and we can close this? If your problem is with Linq, can you confirm this, and we'll change the Component to Linq. Cheers, 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 > 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 |
From: Fabio M. (JIRA) <nh...@gm...> - 2010-09-22 17:12:02
|
[ http://216.121.112.228/browse/NH-2328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=19860#action_19860 ] Fabio Maulo commented on NH-2328: --------------------------------- Richard, I have not tried his test but I saw QueryOver instead Query. Probably everything works correctly with QueryOver. Is you have time try to change the provided test in order to use Linq. In that case we can re-edit the this issue with the correct description and correct component. > 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 > 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 |
From: Richard B. (JIRA) <nh...@gm...> - 2010-09-22 21:26:56
|
[ http://216.121.112.228/browse/NH-2328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard Brown reassigned NH-2328: --------------------------------- Assignee: Richard Brown > 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 |
From: Michael K. (JIRA) <nh...@gm...> - 2010-10-08 19:40:40
|
[ http://216.121.112.228/browse/NH-2328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20000#action_20000 ] Michael Kobaly commented on NH-2328: ------------------------------------ Sorry about the confusion. Yes originally I was looking to use linq but that did not work. I got much closer using QueryOver but that still fails. I have tried out the latest Alpha 3 version and now I get a different error using QueryOver. This time it seems to get further but it still fails. Here is the test from that attached zip file I originally added. [Test] public void Linq_Find_All_Circles_Throws_Error() { using (ISession session = this.OpenSession()) { IList<ToyBox> results = session.QueryOver<ToyBox>() .Where(x => x.Shape is Circle).List(); Assert.IsNotNull(results); } } Here is the error (Unable to cast object of type 'System.RuntimeType' to type 'System.String') -- Full error below --- NHibernate.Exceptions.GenericADOException : could not execute query [ SELECT this_.toybox_id as toybox1_3_0_, this_.name as name3_0_, this_.s_object_id as s3_3_0_, this_.object_id as object4_3_0_ FROM toyBox this_ WHERE this_.s_object_id = ? ] Positional parameters: #0>NHibernate.Test.NHSpecificTest.NH1234.Circle [SQL: SELECT this_.toybox_id as toybox1_3_0_, this_.name as name3_0_, this_.s_object_id as s3_3_0_, this_.object_id as object4_3_0_ FROM toyBox this_ WHERE this_.s_object_id = ?] ----> System.InvalidCastException : Unable to cast object of type 'System.RuntimeType' to type 'System.String'. at NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters) at NHibernate.Loader.Loader.ListIgnoreQueryCache(ISessionImplementor session, QueryParameters queryParameters) at NHibernate.Loader.Loader.List(ISessionImplementor session, QueryParameters queryParameters, ISet`1 querySpaces, IType[] resultTypes) at NHibernate.Loader.Criteria.CriteriaLoader.List(ISessionImplementor session) at NHibernate.Impl.SessionImpl.List(CriteriaImpl criteria, IList results) at NHibernate.Impl.CriteriaImpl.List(IList results) at NHibernate.Impl.CriteriaImpl.List[T]() at NHibernate.Criterion.QueryOver`1.List() at NHibernate.Criterion.QueryOver`1.NHibernate.IQueryOver<TRoot>.List() NHSpecificTest\NH1234\Tests.cs(81,0): at NHibernate.Test.NHSpecificTest.NH1234.SampleTest.Linq_Find_All_Circles_Throws_Error() --InvalidCastException at NHibernate.Type.MetaType.NullSafeSet(IDbCommand st, Object value, Int32 index, ISessionImplementor session) at NHibernate.Engine.QueryParameters.BindParameters(IDbCommand command, Int32 start, ISessionImplementor session) at NHibernate.Loader.Loader.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) > 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 |
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 |
From: Fabio M. (JIRA) <nh...@gm...> - 2010-10-10 11:58:39
|
[ http://216.121.112.228/browse/NH-2328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20008#action_20008 ] Fabio Maulo commented on NH-2328: --------------------------------- Richard. The HQL as no problem yo manage the situation. In HQL you can use the "hidden" property 'class' (lowercase) to select a specific type of the heterogeneous association. The problem is in the LINQ provider. > 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 |
From: Richard B. (JIRA) <nh...@gm...> - 2010-10-10 14:19:33
|
[ http://216.121.112.228/browse/NH-2328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard Brown updated NH-2328: ------------------------------ Component/s: (was: QueryOver) Linq Provider OK. I've updated the component of the JIRA to Linq. I had a look at VisitTypeBinaryExpression(), but I couldn't see how to determine the correct constant (presumably from the mapping). The equivalent test in HQL (using .class) is in the same folder. > Linq query on <Any/> fails > -------------------------- > > Key: NH-2328 > URL: http://216.121.112.228/browse/NH-2328 > Project: NHibernate > Issue Type: Bug > Components: Linq Provider > 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 |
From: Richard B. (JIRA) <nh...@gm...> - 2010-10-10 14:42:30
|
[ http://216.121.112.228/browse/NH-2328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard Brown reassigned NH-2328: --------------------------------- Assignee: (was: Richard Brown) > Linq query on <Any/> fails > -------------------------- > > Key: NH-2328 > URL: http://216.121.112.228/browse/NH-2328 > Project: NHibernate > Issue Type: Bug > Components: Linq Provider > Affects Versions: 3.0.0.Alpha2 > Reporter: Michael Kobaly > 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 |
From: Andrei A. (JIRA) <nh...@gm...> - 2011-05-22 23:37:43
|
[ http://216.121.112.228/browse/NH-2328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21148#action_21148 ] Andrei Alecu commented on NH-2328: ---------------------------------- I just came across the same bug, blocking development for us. What I don't seem to understand is, why does this work: var boxes = s.CreateQuery("from ToyBox t where t.Shape.class = 2") .List<ToyBox>(); Instead of this: var boxes = s.CreateQuery("from ToyBox t where t.Shape.class = Square") .List<ToyBox>(); With this mapping: <any name="Shape" id-type="int" meta-type="int"> <meta-value value="1" class="Circle"/> <meta-value value="2" class="Square"/> <column name="s_object_id" /> <column name="object_id" /> </any> Why is the value attribute being used for .class in HQL? Shouldn't it use class? Note that the same thing happens with meta-type="string" (the default) Is this by design? I couldn't find any documentation on the matter but it doesn't look right to me. Any ideas? > Linq query on <Any/> fails > -------------------------- > > Key: NH-2328 > URL: http://216.121.112.228/browse/NH-2328 > Project: NHibernate > Issue Type: Bug > Components: Linq Provider > Affects Versions: 3.0.0.Alpha2 > Reporter: Michael Kobaly > 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 |
From: Andrei A. (JIRA) <nh...@gm...> - 2011-05-23 13:06:47
|
[ http://216.121.112.228/browse/NH-2328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21151#action_21151 ] Andrei Alecu commented on NH-2328: ---------------------------------- After further experimenting I'm certain this is broken in HQL, and is not really a Linq issue, so once HQL is fixed, Linq should work too. Running: var boxes = s.CreateQuery("from ToyBox t where t.Shape.class = Square") .List<ToyBox>(); I tracked it down to ProcessConstant(SqlNode constant, bool resolveIdent) in LiteralProcessor.cs The code ends up here: IQueryable queryable = _walker.SessionFactoryHelper.FindQueryableUsingImports(constant.Text); if (isIdent && queryable != null) { constant.Text = queryable.DiscriminatorSQLValue; } But queryable.DiscriminatorSQLValue is null because queryable contains an instance of a non-polymorphic SingleTableEntityPersister<>. If, while debugging, I manually put the value "2" (the meta-value of Shape) instead of null in constant.Text, the test passes. I'm looking at ways of extracting the meta-value so it can be used there. > Linq query on <Any/> fails > -------------------------- > > Key: NH-2328 > URL: http://216.121.112.228/browse/NH-2328 > Project: NHibernate > Issue Type: Bug > Components: Linq Provider > Affects Versions: 3.0.0.Alpha2 > Reporter: Michael Kobaly > 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 |
From: Andrei A. (JIRA) <nh...@gm...> - 2011-05-23 14:48:47
|
[ http://216.121.112.228/browse/NH-2328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21154#action_21154 ] Andrei Alecu commented on NH-2328: ---------------------------------- More information: Using an explicit parameter works: var boxes = s.CreateQuery("from ToyBox t where t.Shape.class = :clazz") .SetParameter("clazz", typeof(Square).FullName).List<ToyBox>(); Upon further inspection, it works because the implementation calls NullSafeSet() on MetaType while setting the parameter. If the type is specified inline, NullSafeSet isn't called. I believe the proper fix here would be for the query parser to extract what's after = here and pass it in as a parameter, if possible, so that NullSafeSet() is called. > Linq query on <Any/> fails > -------------------------- > > Key: NH-2328 > URL: http://216.121.112.228/browse/NH-2328 > Project: NHibernate > Issue Type: Bug > Components: Linq Provider > Affects Versions: 3.0.0.Alpha2 > Reporter: Michael Kobaly > 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 |
From: Andrei A. (JIRA) <nh...@gm...> - 2011-05-23 17:43:52
|
[ http://216.121.112.228/browse/NH-2328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21159#action_21159 ] Andrei Alecu commented on NH-2328: ---------------------------------- Ok, since I was pressed on time, I ended up with the following workaround which works: public static class GetTypeFullNameExtension { public static string GetTypeFullName(this object what) { return what.GetType().FullName; } } public class TypeIsGenerator : BaseHqlGeneratorForMethod { public TypeIsGenerator() { this.SupportedMethods = new[] { ReflectionHelper.GetMethodDefinition<object>(x => x.GetTypeFullName()) }; } public override HqlTreeNode BuildHql( MethodInfo method, Expression targetObject, ReadOnlyCollection<Expression> arguments, HqlTreeBuilder treeBuilder, IHqlExpressionVisitor visitor) { return treeBuilder.Dot(visitor.Visit(arguments[0]).AsExpression(), treeBuilder.Class()); } } After merging the generator in, I can now run this query: var boxes = (from t in s.Query<ToyBox>() where t.Shape.GetTypeFullName() == typeof(Square).FullName select t).ToList(); Which is sufficient for us for now. > Linq query on <Any/> fails > -------------------------- > > Key: NH-2328 > URL: http://216.121.112.228/browse/NH-2328 > Project: NHibernate > Issue Type: Bug > Components: Linq Provider > Affects Versions: 3.0.0.Alpha2 > Reporter: Michael Kobaly > 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 |
From: Andrei A. (JIRA) <nh...@gm...> - 2011-05-24 10:47:54
|
[ http://216.121.112.228/browse/NH-2328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21170#action_21170 ] Andrei Alecu commented on NH-2328: ---------------------------------- Opened separate issue at NH-2734 for the HQL side of this bug. Fixing HQL should fix Linq by default. > Linq query on <Any/> fails > -------------------------- > > Key: NH-2328 > URL: http://216.121.112.228/browse/NH-2328 > Project: NHibernate > Issue Type: Bug > Components: Linq Provider > Affects Versions: 3.0.0.Alpha2 > Reporter: Michael Kobaly > 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 |
From: Andrei A. (JIRA) <nh...@gm...> - 2011-05-26 10:47:02
|
[ http://216.121.112.228/browse/NH-2328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21201#action_21201 ] Andrei Alecu commented on NH-2328: ---------------------------------- Richard, if you're still watching this, I have attached a .patch that fixes this in NH-2741. > Linq query on <Any/> fails > -------------------------- > > Key: NH-2328 > URL: http://216.121.112.228/browse/NH-2328 > Project: NHibernate > Issue Type: Bug > Components: Linq Provider > Affects Versions: 3.0.0.Alpha2 > Reporter: Michael Kobaly > 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 |
From: Fabio M. (JIRA) <nh...@gm...> - 2011-05-30 16:52:41
|
[ http://216.121.112.228/browse/NH-2328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fabio Maulo resolved NH-2328. ----------------------------- Resolution: Fixed Fix Version/s: 3.2.0Beta2 > Linq query on <Any/> fails > -------------------------- > > Key: NH-2328 > URL: http://216.121.112.228/browse/NH-2328 > Project: NHibernate > Issue Type: Bug > Components: Linq Provider > Affects Versions: 3.0.0.Alpha2 > Reporter: Michael Kobaly > Priority: Major > Fix For: 3.2.0Beta2 > > 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 |