DDC-1060: Use Hydrators inside Persisters #1325

Closed
opened 2026-01-22 13:10:23 +01:00 by admin · 3 comments
Owner

Originally created by @doctrinebot on GitHub (Mar 6, 2011).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user @beberlei:

The hydration code should be moved out of the persisters and re-using the Hydrators.

Reasons:

  • No duplication of hydration code necessary anymore.
  • More complex hydration (eager loads) possible inside persister

Implementation:

  • Either use a SimpleObjectHydrator or reuse the ObjectHydrator (benchmark)

Check for performance first.

Originally created by @doctrinebot on GitHub (Mar 6, 2011). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user @beberlei: The hydration code should be moved out of the persisters and re-using the Hydrators. Reasons: - No duplication of hydration code necessary anymore. - More complex hydration (eager loads) possible inside persister Implementation: - Either use a SimpleObjectHydrator or reuse the ObjectHydrator (benchmark) Check for performance first.
admin closed this issue 2026-01-22 13:10:24 +01:00
Author
Owner

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

Comment created by @beberlei:

A first milestone of this is done: 851f44a066

@doctrinebot commented on GitHub (Mar 6, 2011): Comment created by @beberlei: A first milestone of this is done: https://github.com/doctrine/doctrine2/commit/851f44a066ffbe7849c1402d5e192be9bbd4383e
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#1325