Details

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

      Description

      When summing all values of a property of type Single, NHibernate throws a NotSupportedException: Don't currently support idents of type Single.
      Example:

      Double value = session.Query<SomeEntity>().Select(x => x.SomePropertyOfTypeSingle).Sum();

      Apparently, someone forgot a line like this on HqlIdent (file HqlTreeNode.cs):

      case TypeCode.Single:
      SetText("single");
      break;

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rjperes Ricardo Peres
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Who's Looking?