Michaël Gallego
f1a793f2ee
Initial work for efficient counting on criteria
2014-05-15 18:22:56 +02:00
Guilherme Blanco
5c828fc6c8
Merge pull request #1023 from coma/DDC-3027
...
[DDC-3027] Avoid duplicated mapping using Embedded in MappedSuperclass
2014-05-14 22:37:24 -04:00
Guilherme Blanco
4874070b3f
Merge branch 'feature/default-query-hints' of https://github.com/Strate/doctrine2 into Strate-default-query-hints
2014-05-15 01:15:34 +00:00
Marco Pivetta
ccc789eadd
DDC-3123 - the UoW should clear extra updates immediately
2014-05-15 00:18:50 +02:00
flack
5cf906d76b
Remove some redundant clauses
2014-05-02 21:52:00 +02:00
Eduardo García Sanz
8a3def097f
[DDC-3027] Avoid duplicated mapping using Embedded in MappedSuperclass
2014-04-30 11:46:54 +02:00
Marco Pivetta
27845088e3
Merge branch 'hotfix/DDC-3103-#1020-serialize-isEmbedded-in-class-metadata'
...
Close #1020
2014-04-29 13:16:02 +02:00
Marco Jantke
f065a5c8b9
fixed bug
2014-04-29 09:30:37 +02: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
Cédric Chandon
9ba31a394a
[DBAL-878] Wrong mapping type
...
the type should be the mapping type, and not the name of the type. This
does the difference for simple_array, as the result should be
simple_array and not simplearray
2014-04-25 01:59:15 +02: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
Guilherme Blanco
29de3e00ff
Added support for NEW operator when using ArrayHydration if user desires to benefit from this funcionality.
2014-04-23 05:10:23 +00:00
Guilherme Blanco
4185a9ce4b
Merge pull request #999 from doctrine/hotfix/DDC-3065-null-value-in-in-criteria-support
...
DDC-3065 null value in in criteria support
2014-04-20 23:30:14 -04:00
Guilherme Blanco
6a8ee87268
Made DQL and EBNF in sync.
2014-04-20 20:27:57 +00:00
Guilherme Blanco
a3f95d919b
DDC-3075 Added support for subqueries in NEW operator.
2014-04-20 14:40:51 +00:00
Guilherme Blanco
38b6838386
DDC-2575 Fixed issue with associations when parent is not yet loaded, but child is being created and no link happens.
2014-04-18 05:21:27 +00:00
Guilherme Blanco
df806977c6
Updated fix for HHVM.
2014-04-18 03:05:41 +00:00
Guilherme Blanco
9441e063aa
Updated XML Exporter to deal with some HHVM weirdness.
2014-04-18 03:04:04 +00:00
Guilherme Blanco
10a0daf620
DDC-3068 DDC-3069 EntityManager::find accept array of object as id.
2014-04-18 02:03:47 +00:00
Guilherme Blanco
6af3236ba6
Merge pull request #1012 from FabioBatSilva/DDC-3078-slc-cache-interface-ctor-removal
...
Ddc 3078 slc cache interface ctor removal
2014-04-17 15:34:36 -04:00
Guilherme Blanco
be1cc14a9c
DDC-2890 Fixed pagination with association order by.
2014-04-17 19:29:18 +00:00
fabios
1dc3396ad4
DDC-3078 - Use CacheFactory instead of cache instantiator
2014-04-17 15:20:31 -04:00
Marco Pivetta
fa1cc9269c
DDC-3078 - removing unused imports
2014-04-17 15:16:59 -04:00
Marco Pivetta
48e227167e
DDC-3078 - cache instantiator related exceptions are not needed anymore
2014-04-17 15:16:59 -04:00
Marco Pivetta
df6a411365
DDC-3078 - cache instantiator is used in the ORM instead of callables
2014-04-17 15:16:59 -04:00
Marco Pivetta
a790639167
DDC-3078 - providing a default cache instantiator implementation
2014-04-17 15:16:58 -04:00
Marco Pivetta
6931cd08c4
DDC-3078 - using an explicit CacheInstantiator interface to replace callable cache instantiators
2014-04-17 15:16:58 -04:00
Marco Pivetta
d7f87cdd36
DDC-3078 - removing unused cache class name invalidity exception methods
2014-04-17 15:16:58 -04:00
Marco Pivetta
9b2ee88683
DDC-3078 - removing cache class name setter/getter from cache configuration API
2014-04-17 15:16:58 -04:00
Marco Pivetta
87a907f9dd
DDC-3078 - switching cache initialization to use cache instantiator from config
2014-04-17 15:16:57 -04:00
Marco Pivetta
e5f79d1f73
DDC-3078 - adding API for cache instantiation to the configuration object
2014-04-17 15:16:56 -04:00
Marco Pivetta
1b5eb55ed9
DDC-3078 - adding exception methods for invalid cache instantiator
2014-04-17 15:16:56 -04:00
Marco Pivetta
04b52149ab
DDC-3078 - constructor should never be interfaced
2014-04-17 15:16:56 -04:00
Guilherme Blanco
841bdd5ca5
DDC-2827 Added support for AggregateExpressions in NullComparisonExpression.
2014-04-17 04:39:26 +00:00
Guilherme Blanco
ceada41b83
DDC-2934 Added support for function declarations in order by.
2014-04-17 04:15:35 +00:00
Guilherme Blanco
54898eca60
Added index by consideration when eagerly loading to-many associations.
2014-04-17 03:53:21 +00:00
Guilherme Blanco
f5e6044cf5
Provided more decriptive explanation when single scalar hydrator is used and it returns multiple columns.
2014-04-17 01:09:33 +00:00
Guilherme Blanco
1488a509b2
DDC-2937 More informative response when using single scalar hydrator when it returns single row but multiple columns.
2014-04-16 05:44:54 +00:00
Guilherme Blanco
6e9b15a48f
Merge pull request #951 from md2perpe/MoreInformationalEntityNotFoundException
...
More informational entity not found exception
2014-04-16 01:40:02 -04:00
Guilherme Blanco
b28fa9a05a
DDC-1632 Optimized query count for one-to-many associations with fetch eager.
2014-04-16 05:36:31 +00:00
Guilherme Blanco
4029dc2ea8
Merge pull request #988 from holtkamp/DDC-3047-Exporter-association-fetch-modes
...
Exporter support for association fetch modes
2014-04-16 00:52:51 -04:00
Guilherme Blanco
1cd0b26a40
DDC-3068 EntityManager clear() calls now follow cascade detach configuration.
2014-04-16 04:47:57 +00:00