[PR #1440] [DDC-2763] Inheritance. Improve lazy load associated entitities #9497

Open
opened 2026-01-22 16:04:30 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/1440

State: closed
Merged: No


[DDC-2763 92c1a8f] [DDC-2763] Inheritance. CTI & STI. Improve lazy load associated entity, when target entity in association mapping is not last leaf in class hierarchy.

Issue fixed by adding class "ProxyHydrator" and new fetch mode for associations "FETCH_USE_PROXY".
Users need to mark the associations with "fetch=USE_PROXY" to trigger new lazy loading behaviour.
This PR is not intended to be final. It still lacks of tests.

**Original Pull Request:** https://github.com/doctrine/orm/pull/1440 **State:** closed **Merged:** No --- [DDC-2763 92c1a8f] [DDC-2763] Inheritance. CTI & STI. Improve lazy load associated entity, when target entity in association mapping is not last leaf in class hierarchy. Issue fixed by adding class "ProxyHydrator" and new fetch mode for associations "FETCH_USE_PROXY". Users need to mark the associations with "fetch=USE_PROXY" to trigger new lazy loading behaviour. This PR is not intended to be final. It still lacks of tests.
admin added the pull-request label 2026-01-22 16:04:30 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#9497