1
0
mirror of synced 2025-01-10 11:07:10 +03:00
doctrine2/lib/Doctrine/ORM/Internal/Hydration
Ulf a7aa634247 Fixed mapping of discriminator column
Added fix for [DDC-3170] (http://www.doctrine-project.org/jira/browse/DDC-3170).

When querying a simple entity which uses single table- or class table inheritance using simple object hydration (``AbstractQuery::HYDRATE_SIMPLEOBJECT``), the mapped discriminator column was not retrieved correctly.

If the column got an alias during result set mapping other than it's actual name (e.g. ``type34`` insteaad of ``type``) than this alias wasn't reverted when retrieving the discriminator column from the SQL result set.
2014-06-17 14:51:19 +02:00
..
AbstractHydrator.php Readability update to hydrators. 2014-04-29 05:05:38 +00:00
ArrayHydrator.php Readability update to hydrators. 2014-04-29 05:05:38 +00:00
HydrationException.php Add: invalidDiscriminatorValue method 2014-04-09 01:55:49 +02:00
IterableResult.php Fixed documentation for ORM\Internal 2012-12-02 19:46:34 +00:00
ObjectHydrator.php Readability update to hydrators. 2014-04-29 05:05:38 +00:00
ScalarHydrator.php Made ClassMetadata to be reused during gatherRowData() and also during hydrateRow() to share same fetches instead of recalculating all info again. Performance improvement after 100x runs comparison is around 4%. 2014-04-28 02:38:51 +00:00
SimpleObjectHydrator.php Fixed mapping of discriminator column 2014-06-17 14:51:19 +02:00
SingleScalarHydrator.php Made ClassMetadata to be reused during gatherRowData() and also during hydrateRow() to share same fetches instead of recalculating all info again. Performance improvement after 100x runs comparison is around 4%. 2014-04-28 02:38:51 +00:00