We're updating the issue view to help you get more done. 

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

Status

Assignee

Vlad Mihalcea

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

5.2.2

Priority

Major