Uploaded image for project: 'NHibernate'
  1. NHibernate
  2. NH-2769

Linq Fetch over component has no effect on generated SQL

    Details

    • Type: Bug
    • Status: Open
    • Priority: 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.

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            droth 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
            droth 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 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 Oskar Berggren added a comment - David Roth has made a test case available at: https://github.com/davrot/nhibernate-core/tree/NH3373
            Hide
            droth David Roth added a comment -

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

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

              People

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

                Dates

                • Created:
                  Updated:

                  Who's Looking?