Skip to content

findAll(), findBy() and findOneBy() do not take care about query hints #6751

Closed
@steevanb

Description

@steevanb

Hi :)

When i define default hints, with this code :
$manager->getConfiguration()->setDefaultQueryHint(QueryHint::MY_HINT, true);

This methods don't pass it to EntityPersister::load() or EntityPersister::loadAll(), although load() has a parameters for that : $hints.

So, magic methods in EntityRepository could not be used, when we have default hints :(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions