Skip to content

NH-2944 - Subselect fetching doesn't work when the parent is a subclass and was loaded by querying a base class #1256

@nhibernate-bot

Description

@nhibernate-bot

cremor created an issue — 15th November 2011, 11:28:51:

Example: I load entities of type "Parent" by querying "AbstractParent" and then access a "Childs" property of all that "Parent" entities. This results in a select n + 1 problem although the collection is mapped with fetch="subselect".

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions