Michaël Gallego
50832fd3bc
Add tests for PersistentCollection
2014-05-15 18:22:57 +02:00
Michaël Gallego
876643e83e
Add test for Entity Repository
2014-05-15 18:22:57 +02:00
Michaël Gallego
6cb5097ea8
Add method visibility
2014-05-15 18:22:57 +02:00
Michaël Gallego
8514ec7320
Remove useless imports
2014-05-15 18:22:57 +02:00
Michaël Gallego
3c522f4984
Reuse Doctrine Collection Lazy Collection
2014-05-15 18:22:57 +02:00
Michaël Gallego
28afb52734
Typehint to interface to support second level cache
2014-05-15 18:22:56 +02:00
Michaël Gallego
ac15b184b6
Fix tests for inheritance support
2014-05-15 18:22:56 +02:00
Michaël Gallego
632382b069
Add missing methods to the mock
2014-05-15 18:22:56 +02:00
Michaël Gallego
7551b1ad00
Update to latest cache API
2014-05-15 18:22:56 +02:00
Michaël Gallego
9813c2d5f1
Add tests
2014-05-15 18:22:56 +02:00
Michaël Gallego
0fa7b45a0e
Also add efficient count for Persistent collection
2014-05-15 18:22:56 +02:00
Michaël Gallego
9b7dce1940
Use inner collection count if initialized
2014-05-15 18:22:56 +02:00
Michaël Gallego
b556bcb16c
Remove useless dependency
2014-05-15 18:22:56 +02:00
Michaël Gallego
f1a793f2ee
Initial work for efficient counting on criteria
2014-05-15 18:22:56 +02:00
Marco Pivetta
91df8f5649
Merge branch 'hotfix/DDC-3123-test-assertion-simplification'
2014-05-15 17:37:55 +02:00
Marco Pivetta
65e55a0c49
DDC-3123 - using assertAttributeEmpty
(with message) instead of explicit reflection
2014-05-15 17:37:41 +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
Steve Müller
c16de21172
Merge pull request #1030 from doctrine/hotfix/DDC-3123-extra-updates-cleanup
...
DDC-3123 extra updates cleanup
2014-05-15 01:07:34 +02:00
Marco Pivetta
ccc789eadd
DDC-3123 - the UoW should clear extra updates immediately
2014-05-15 00:18:50 +02:00
Marco Pivetta
9cdcba3fbc
DDC-3123 - verifying that the UoW is not clearing extra inserts
2014-05-15 00:18:22 +02:00
Marco Pivetta
08347cf4f7
Adding PHP 5.6 and HHVM-nightly to build matrix
2014-05-11 17:51:23 +02:00
Marco Pivetta
94837a0105
Merge pull request #1026 from flack/patch-5
...
Remove some redundant clauses
2014-05-03 01:43:38 +02:00
flack
5cf906d76b
Remove some redundant clauses
2014-05-02 21:52:00 +02:00
Steve Müller
7fffba80c3
Merge pull request #1025 from josemalonsom/remove-duplicate-entry-in-toc
...
Removed duplicate entry in documentation TOC.
2014-05-01 14:23:56 +02:00
Jose M. Alonso M
204b7fe854
Removed duplicate entry in documentation TOC.
2014-05-01 13:02:29 +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
7a305475e3
The proxy factory always expects non-null identifier values
2014-04-29 13:25:17 +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 Pivetta
677cea4748
DDC-3103 - minor CS fixes/adjustments
2014-04-29 13:12:17 +02:00
Marco Jantke
f065a5c8b9
fixed bug
2014-04-29 09:30:37 +02:00
Marco Jantke
cf84183c18
created test case to reproduce error
2014-04-29 09:30:10 +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
Guilherme Blanco
e8e86205f5
Merge pull request #1018 from chandon/master
...
DBAL-878 Wrong mapping type
2014-04-24 20:52:27 -04: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
Marco Pivetta
9ec54b8fed
Merge pull request #1015 from EvanDotPro/docs/expressionbuilder-contains
...
Add ExpressionBuilder::contains() to docs
2014-04-23 15:58:06 +02:00
Evan Coury
d2c2067aaf
Add ExpressionBuilder::contains() to docs
2014-04-23 06:54:03 -07: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
63d21ca4b2
DDC-3085 Verify ResultVariable works in combination with NullComparisonExpression wihle in HAVING clause.
2014-04-21 04:01:32 +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
1e90fd1164
Merge pull request #1014 from bakura10/patch-1
...
Update second level cache doc
2014-04-20 18:24:01 -04:00