NHibernate
  1. NHibernate
  2. NH-2769

Linq Fetch over component has no effect on generated SQL

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.2.0.Beta1
    • Fix Version/s: None
    • Component/s: Linq Provider
    • Labels:

      Description

      NH-2615 fixed the exceptions that occured when a Linq query with a fetch on a component was executed but the fetch has still no effect on the generated SQL.

      Attached is a patch that modifies the already existing test (NHSpecificTest\NH2705) so it also checks the generated statement.

        Issue Links

        Progress
        Unresolved Sub-Tasks

        Sub-Tasks

          Activity

          Hide
          David Roth added a comment -

          Is there any chance for fixing this issue soon? Anyone working on it or planning to do so?
          We are using a lot of components in our project and we can`t fetch references with LINQ on collections because of this issue.

          Show
          David Roth added a comment - Is there any chance for fixing this issue soon? Anyone working on it or planning to do so? We are using a lot of components in our project and we can`t fetch references with LINQ on collections because of this issue.
          Hide
          Oskar Berggren added a comment -

          David Roth has made a test case available at:
          https://github.com/davrot/nhibernate-core/tree/NH3373

          Show
          Oskar Berggren added a comment - David Roth has made a test case available at: https://github.com/davrot/nhibernate-core/tree/NH3373
          Hide
          David Roth added a comment -

          New github location for the testcase: https://github.com/davidroth/nhibernate-core/tree/NH3373

          Show
          David Roth added a comment - New github location for the testcase: https://github.com/davidroth/nhibernate-core/tree/NH3373

            People

            • Assignee:
              Unassigned
              Reporter:
              cremor
            • Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:

                Who's Looking?