DDC-914: Use JOIN for Fetch=EAGER ManyToOne and OneToOne in Persisters #1175

Closed
opened 2026-01-22 13:04:48 +01:00 by admin · 2 comments
Owner

Originally created by @doctrinebot on GitHub (Dec 24, 2010).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user @beberlei:

Currently Fetch=EAGER Only leads to proxies not being used, no optimizations are being done.

Optimizations could maybe be done easily for the cases:

  1. Basic Entity Persister ManyToOne
  2. Basic Entity Persister OneToOne Owning side
  3. Basic Entity Persister OneToOne + Inverse side

Complicated cases would be:

  • Everything Single and JoinTableInheritance?
  • OneToMany and ManyToMany collections.
Originally created by @doctrinebot on GitHub (Dec 24, 2010). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user @beberlei: Currently Fetch=EAGER Only leads to proxies not being used, no optimizations are being done. Optimizations could maybe be done easily for the cases: 1. Basic Entity Persister <ins> ManyToOne 2. Basic Entity Persister </ins> OneToOne <ins> Owning side 3. Basic Entity Persister </ins> OneToOne + Inverse side Complicated cases would be: - Everything Single and JoinTableInheritance? - OneToMany and ManyToMany collections.
admin closed this issue 2026-01-22 13:04:50 +01:00
Author
Owner

@doctrinebot commented on GitHub (Mar 16, 2011):

Comment created by @beberlei:

Merged

@doctrinebot commented on GitHub (Mar 16, 2011): Comment created by @beberlei: Merged
Author
Owner

@doctrinebot commented on GitHub (Mar 16, 2011):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Mar 16, 2011): Issue was closed with resolution "Fixed"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#1175