Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects versions: 3.1.0
    • Fix versions: 3.3.0.CR1
    • Components: Linq Provider
    • Labels:
      None
    • Sprint:

      Description

      Querying a dynamic-component using ling results in an exception

      System.InvalidCastException : Unable to cast object of type 'NHibernate.Type.ComponentType' to type 'NHibernate.Type.CollectionType'.

      From

      NHibernate.Hql.Ast.ANTLR.Tree.DotNode.ResolveIndex(IASTNode parent) in DotNode.cs: line 141
      at NHibernate.Hql.Ast.ANTLR.Tree.IndexNode.Resolve(Boolean generateJoin, Boolean implicitJoin, String classAlias, IASTNode parent) in IndexNode.cs: line 47
      at NHibernate.Hql.Ast.ANTLR.Tree.FromReferenceNode.Resolve(Boolean generateJoin, Boolean implicitJoin, String classAlias) in FromReferenceNode.cs: line 57
      at NHibernate.Hql.Ast.ANTLR.Tree.FromReferenceNode.Resolve(Boolean generateJoin, Boolean implicitJoin) in FromReferenceNode.cs: line 62
      at NHibernate.Hql.Ast.ANTLR.HqlSqlWalker.ProcessIndex(IASTNode indexOp) in HqlSqlWalker.cs: line 821

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                danielg Daniel Guenter
              • Votes:
                5 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Who's Looking?