Skip to content

Make throwing error Cannot simultaneously fetch multiple bags configurable #1397

Open
@uciprian

Description

@uciprian

There are situations data dependent where you want to query multiple bags in the same query but the arity for those bag may still be one due to conditions in the query. Other times for the purpose of fetching eagerly many relationships and dealing with multiplicity due the cartesian products in the application code is desired way to implement. For these 2 reasons I propose throwing the error "Cannot simultaneously fetch multiple bags" configurable.
I'm one of the folks who has successfully been using nhibernate 4.0 on a complex domain with this exception throwing removed by building nhibernate myself from sources directly, would like to avoid this in 5.0

Thanks

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