Marco Pivetta
|
44f2e22f14
|
#6303 #6304 documenting why collisions in field name hydration in STI/JTI require additional information and checks in the hydration process
|
2017-08-19 18:30:33 +02:00 |
|
Marco Pivetta
|
c503b81421
|
#6303 #6304 removing += operator usage on arrays (scary\!), CS (alignment)
|
2017-08-19 16:02:30 +02:00 |
|
Marco Pivetta
|
7e7921e32f
|
#6303 #6304 documenting why the loose comparison is required
|
2017-08-19 15:58:50 +02:00 |
|
fullbl
|
8cc29e84a0
|
Update AbstractHydrator.php
revert strict comparison in hydration (fails on some dates)
|
2017-08-19 15:56:59 +02:00 |
|
Full
|
db9c12f1af
|
comparison on discriminator value with !==
|
2017-08-19 15:56:59 +02:00 |
|
Full
|
4c7286f57b
|
removed trailing spaces
|
2017-08-19 15:56:59 +02:00 |
|
Full
|
0b8e468f06
|
fix wrong pharenthesis
|
2017-08-19 15:56:59 +02:00 |
|
Full
|
bf06b7dbbc
|
check if array is set before assigning
|
2017-08-19 15:56:59 +02:00 |
|
Full
|
ad3b9de4b8
|
use dataMap also in first test function
|
2017-08-19 15:56:59 +02:00 |
|
Full
|
6d40859228
|
added tests on empty values
|
2017-08-19 15:56:59 +02:00 |
|
Marco Pivetta
|
ff3c89d8b1
|
#6623 minor code cleanups (removing useless assignments, array callback syntax)
|
2017-08-16 15:10:27 +02:00 |
|
Nikolas Tsiongas
|
f0ed4e87b5
|
fix AbstractHydrator addEventListener on hydrateAll()
# Conflicts:
# tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3146Test.php
|
2017-08-14 00:45:50 +02:00 |
|
Marco Pivetta
|
aba486ea2d
|
#1515 removing redundant assignment, short array notation
|
2017-06-24 03:27:12 +02:00 |
|
Emiel Nijpels
|
9eb2d6139e
|
DDC-3146 remove event listener from event listener in abstract hydrator in cleanup function
|
2017-06-24 03:22:12 +02:00 |
|
Luís Cobucci
|
234989d069
|
Use short-array syntax on "lib" directory
|
2016-12-08 00:31:12 +01:00 |
|
Guilherme Blanco
|
843966ac50
|
General fixes across CS, type resolving, test fixes, etc
|
2015-11-07 03:55:05 +00:00 |
|
Marco Pivetta
|
6fc0d84b7a
|
DDC-3427 - s/EntityManager/EntityManagerInterface in type-hints
|
2015-01-16 14:21:30 +01:00 |
|
James Murray
|
da7e4ed8de
|
removing orphaned scalar results and allowing mixed results when use new object expressions
|
2014-10-28 17:59:37 -04:00 |
|
Guilherme Blanco
|
48172f3a53
|
Readability update to hydrators.
|
2014-04-29 05:05:38 +00:00 |
|
Guilherme Blanco
|
9cd16ec56a
|
More optimizations around hydrators. Pretty much same performance, just better memory footprint (-0.25MB).
|
2014-04-28 13:47:57 +00:00 |
|
Guilherme Blanco
|
be94eb9d1f
|
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 |
|
Guilherme Blanco
|
35c8cd7f23
|
Added type conversion to meta column in case a type is specified (such as a foreign key or discriminator column).
|
2014-04-25 05:22:33 +00:00 |
|
Guilherme Blanco
|
21437bb276
|
Heavily simplified code on simple object hydrator. Code cleanup on column information cache; by reference cache variable is no longer needed and protected variable is used in a standardized way everywhere.
|
2014-04-25 03:41:14 +00:00 |
|
Guilherme Blanco
|
f7de00b401
|
Finalized fix for scalars and newObjects.
|
2014-04-24 05:21:24 +00:00 |
|
Guilherme Blanco
|
9692fc8c5b
|
Fixed issue if aliases were specific names, you would either get completely misleading results (dql alias: scalars) or a fatal error (dql alias: newObjects).
|
2014-04-24 04:47:13 +00:00 |
|
Guilherme Blanco
|
a3febd79de
|
Abstract cache information of field result for hydrators.
|
2014-04-23 18:50:29 +00:00 |
|
Guilherme Blanco
|
a4dac7a292
|
Highlighted intention of converting scalar types during single scalar or scalar hydration, but leaving it commented and added a note about the BC reason why we cannot do that for 2.X series.
|
2014-04-23 18:04:06 +00:00 |
|
Guilherme Blanco
|
9ebce31a46
|
Made AbstractHydrator::gatherRowData() more understandable without breaking functionality.
|
2014-04-23 06:08:18 +00:00 |
|
Pascal Borreli
|
a2cd0f5804
|
Fixed typos
|
2013-03-11 00:08:58 +00:00 |
|
Benjamin Morel
|
159ece8943
|
Fixed documentation for ORM\Persisters
|
2012-12-03 10:15:43 +00:00 |
|
Benjamin Morel
|
4714a53c32
|
Fixed documentation for ORM\Internal
|
2012-12-02 19:46:34 +00:00 |
|
jakoch
|
d4a6c488ca
|
fixed use statements
|
2012-10-12 13:53:20 +02:00 |
|
Fabio B. Silva
|
1bd6e841bf
|
Fix some CS
|
2012-09-29 16:19:02 -03:00 |
|
Fabio B. Silva
|
4dca27962e
|
support multiple operators
|
2012-09-29 16:19:01 -03:00 |
|
Fabio B. Silva
|
2b403b7dad
|
basic support refactory
|
2012-09-29 16:18:58 -03:00 |
|
Fabio B. Silva
|
b29d47a682
|
cache new object mappings
|
2012-09-29 16:18:58 -03:00 |
|
Fabio B. Silva
|
0fbb78e61a
|
basic support, need some code refactory and improvements
|
2012-09-29 16:18:57 -03:00 |
|
Benjamin Eberlei
|
44c867827c
|
[DDC-1783] Fix memory leak in ObjectHydrator when using AbstractQuery#iterate() and EntityManager#clear()
|
2012-05-27 12:00:43 +02:00 |
|
Benjamin Eberlei
|
70458b2f48
|
LGPL => MIT
|
2012-05-26 14:37:00 +02:00 |
|
Benjamin Eberlei
|
1bbd52b8ee
|
[DDC-1652] Fix SqlWalker to include foreign key identifiers in SQL SELECT statement no matter what the meta column setting is suggesting.
|
2012-02-20 17:48:34 +01:00 |
|
Guilherme Blanco
|
ea14bcff4a
|
Fixed DDC-657. Added type conversion to scalar result.
|
2012-01-13 20:46:59 -05:00 |
|
Jan Dolecek
|
12c3a42d8c
|
fixed phpDoc and typos
|
2011-12-30 20:06:20 +01:00 |
|
Guilherme Blanco
|
68663fac4b
|
Fixed issue when one to one badly populated when containing null values. Fixed DDC-1548.
|
2011-12-19 10:55:29 -05:00 |
|
Andrew Mackrodt
|
ef12a09ae0
|
Added remaining absolute namespace paths to phpdoc annotations - issue DDC-1025.
|
2011-12-11 21:56:27 +00:00 |
|
Andrew Mackrodt
|
2fdb55a878
|
Added absolute namespace paths to phpdoc annotations - issue DDC-1025.
|
2011-12-11 21:56:26 +00:00 |
|
Benjamin Eberlei
|
40d094fea2
|
DDC-1515 - Now the real bugfix
|
2011-12-11 17:08:58 +01:00 |
|
Benjamin Eberlei
|
57970499fd
|
Revert "DDC-1515 - Merge from 2.1.x"
This reverts commit bd0fb574e3ac0a578202b171b83775b9a3bbf953.
|
2011-12-11 16:11:16 +01:00 |
|
Benjamin Eberlei
|
bd0fb574e3
|
DDC-1515 - Merge from 2.1.x
|
2011-12-11 16:07:35 +01:00 |
|
Guilherme Blanco
|
81cc6d9da8
|
Implemented alias support for EntityResult. This addresses DDC-1096 and DDC-1424. Improved DQL Parser, SQL Walker and Hydrators in general. Performance is generally improved by a factor of 20%. There is still more to be done, like remove the isMixed in ResultSetMapping, mainly because this query - SELECT u AS user FROM User u -, it should return an array('user' => [User object]), while currently it doesn't due to this before mentioned 'bug' in RSM. Will open a separate ticket for this. Also, UnitOfWork and Hydrators share code that could be abstracted/improved.
|
2011-11-14 01:36:39 -02:00 |
|
Guilherme Blanco
|
d1bfd57fd9
|
Initial code optimization in Hydrators.
|
2011-11-02 22:08:24 -02:00 |
|