Uploaded image for project: 'Spring.NET'
  1. Spring.NET
  2. SPRNET-1249

HibernateTemplate 1.3rc + NH21 AST parser -- type guessing on params not working

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: 1.3.0 RC1
    • Fix Version/s: 1.3.1
    • Component/s: Spring-NET-NH
    • Labels:
      None
    • Environment:
      n/a

      Description

      HibernateTemplate.Find<Entity>( "from Entity where id = ?", new Guid( "blah" )) always fails with the AST parser with "Object does not match target type"
      HiberanteTemplate.Find<Entity>( "from Entity where id = ?", new Guid( "blah" ), NHibernateUtil.Guid ) works fine.

        Attachments

          Activity

            People

            • Assignee:
              mark.pollack Mark Pollack
              Reporter:
              mattrwalsh Matt Walsh
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: