Lazy collections ignore filters when allowLoadOutsideTransaction is true

Description

When property hibernate.enable_lazy_load_no_trans = true and a proxy for a lazy collection is initialized in a session with filters which may affect its loading, when loaded outside that session filters won't be applied.

Environment

None

Assignee

Unassigned

Reporter

Giovanni Lovato

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure