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
Guilherme Blanco
5ce6dabe9b
Fixes DDC-2984. Made DDC-742 more resilient to recurring failures.
2014-04-16 04:20:18 +00:00
Guilherme Blanco
2da74e5147
Merge pull request #1006 from Trainmaster/master
...
Handling invalid discriminator values
2014-04-15 00:07:03 -04:00
Marco Pivetta
a87d3e080e
Minor CS fixes on top of #973
2014-04-14 01:21:23 +02:00
Adrian Olek
eccd8f85bc
cs fixes
2014-04-14 01:21:23 +02:00
Adrian Olek
32ed32cf56
Added index flags test
2014-04-14 01:21:23 +02:00
Adrian Olek
b3a2988d2c
CS fixes
2014-04-14 01:21:23 +02:00
Adrian Olek
cc2fb1a070
Added index flags support in annotation, xml & yaml mapping drivers.
2014-04-14 01:21:23 +02:00
Benjamin Eberlei
da24133306
Merge pull request #980 from adrianolek/convert-mapping-options
...
Added options attribute export to Annotation, Xml & Yaml exporters.
2014-04-13 23:38:30 +02:00
Benjamin Morel
1b4eafc873
Fixed validation message
2014-04-11 22:27:51 +00:00
Saša Stamenković
dc10bb69f6
Minor dockblock change
2014-04-09 13:53:56 +02:00
Frank Liepert
df020e08a0
[DDC-3076] Fix ObjectHydrator
2014-04-09 11:30:11 +02:00