Doctrine Project

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Doctrine 2 - ORM
  • Doctrine 2 - ORM
  • DDC-952 Several features to batch eager selec...
  • DDC-1060

Use Hydrators inside Persisters

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Sub-task Sub-task
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 2.1
  • Component/s: ORM
  • Security Level: All
  • Labels:
    None

Description

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.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • History
  • Activity
  • Source
Hide
Permalink
Benjamin Eberlei added a comment - 06/Mar/11 4:23 PM

A first milestone of this is done: https://github.com/doctrine/doctrine2/commit/851f44a066ffbe7849c1402d5e192be9bbd4383e

Show
Benjamin Eberlei added a comment - 06/Mar/11 4:23 PM A first milestone of this is done: https://github.com/doctrine/doctrine2/commit/851f44a066ffbe7849c1402d5e192be9bbd4383e
Hide
Permalink
Benjamin Eberlei added a comment - 16/Mar/11 6:34 PM

Merged

Show
Benjamin Eberlei added a comment - 16/Mar/11 6:34 PM Merged

People

  • Assignee:
    Benjamin Eberlei
    Reporter:
    Benjamin Eberlei
Vote (0)
Watch (0)

Dates

  • Created:
    06/Mar/11 9:14 AM
    Updated:
    16/Mar/11 6:34 PM
    Resolved:
    16/Mar/11 6:34 PM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Doctrine Project. Try JIRA - bug tracking software for your team.