Skip to content

NH-2180 - Many-To-Many with Property-ref fails to get subitems with FetchMode Join #1214

Closed
@nhibernate-bot

Description

@nhibernate-bot

Armin Landscheidt created an issue — 18th April 2010, 5:28:36:

When I try to get an item with a many-to-many relation and property-ref on both sides NHibernate produces an exception. If I use FetchMode Select there is no Problem but with Join I get this error.

I tried to figure out what exactly the problem is but I don't get it. It seems to be a problem in building the mappings. While loading the object I think that AbstractPersister should create an UniqueKeyLoader. The decision if it should creat the kealoader is made while the mappingbuilding.

The patch contains the two testcases with fetchmode select and join.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions