1
0
mirror of synced 2024-12-12 22:36:02 +03:00
Commit Graph

9576 Commits

Author SHA1 Message Date
Marco Pivetta
b1474768fe #954 DDC-2982 - Better type-safety in Doctrine\ORM\Cache\Region\DefaultMultiGetRegion instantiation logic 2015-01-17 23:43:34 +01:00
Marco Pivetta
624b98544a #954 DDC-2982 - DefaultCacheFactory now supports generic Doctrine\Common\Cache\Cache instances 2015-01-17 23:42:49 +01:00
Marco Pivetta
95fe03b182 #954 DDC-2982 - Coverage for different instantiation of single-/multi-get cache regions 2015-01-17 23:42:15 +01:00
Marco Pivetta
564624814b #954 DDC-2982 - Evicting all cache entries is not supported with a generic cache adapter 2015-01-17 23:30:37 +01:00
Marco Pivetta
0e4a7caf0b #954 DDC-2982 - Evicting all cache entries is not supported with a generic cache adapter 2015-01-17 23:30:20 +01:00
Marco Pivetta
95c6cca336 #954 DDC-2982 - Minor CS fixes/IDE hints 2015-01-17 23:17:07 +01:00
Marco Pivetta
8ddcc4b270 #954 DDC-2982 - No need to check if a Region is a MultiGetRegion 2015-01-17 23:11:14 +01:00
Marco Pivetta
3c5a794691 #954 DDC-2982 - Making cache Region always a MultiGetRegion (no need to segregate the interface here) 2015-01-17 23:10:49 +01:00
Asmir Mustafic
3f64f3252b Changed some tests to be compatible with the new implementation of
multiget region
2015-01-17 22:27:59 +01:00
Asmir Mustafic
e73bd9e9bb New buildCacheEntry way bo build a entry for a cached collection 2015-01-17 22:27:59 +01:00
Asmir Mustafic
1b4eee6d0d Fixed strange test case with CmsUser and second-level cache 2015-01-17 22:27:59 +01:00
Asmir Mustafic
5ec2014051 MultiGetCollectionHydrator depends knows the multi-get region 2015-01-17 22:27:59 +01:00
Asmir Mustafic
1bfa68d94f Removed dependency with Region interface 2015-01-17 22:27:59 +01:00
Asmir Mustafic
779af8ce8e Added dependency with doctrine/cache 1.4 2015-01-17 22:27:59 +01:00
Asmir Mustafic
77c2e24215 Added test case for buildCachedCollectioHydrator on DefaultCacheFactory 2015-01-17 22:27:59 +01:00
Asmir Mustafic
b0792330e4 Added test case for MultiGetRegion 2015-01-17 22:27:58 +01:00
Asmir Mustafic
74e93e4cad Added multi-get support for second level cached collections 2015-01-17 22:27:58 +01:00
Marco Pivetta
8f097ab304 Merge branch 'hotfix/#1220-sort-paginator-subquery-output-only-once'
Close #1220
2015-01-17 22:13:36 +01:00
Bill Schaller
3fd3da3d46 Fixed removal of ASC and DESC keywords from orderby items that will be included in select list 2015-01-17 22:12:26 +01:00
Bill Schaller
39aeb9935b Added failing testcase for Limit queries on entities with column names containing 'asc' or desc' 2015-01-17 22:12:26 +01:00
Bill Schaller
8350de781f Doc fix 2015-01-17 22:12:26 +01:00
Bill Schaller
dfc0910756 Fixed how order by items are included in the select list of the select distinct wrapper statement 2015-01-17 22:12:26 +01:00
Bill Schaller
7031539314 Fixed SQL that could be considered invalid on the targeted platforms in LimitSubqueryOutputWalkerTest 2015-01-17 22:12:26 +01:00
Bill Schaller
ed800e4b86 Added function to LimitSubqueryOutputWalker which takes an order by clause and rebuilds it to work in the scope of the wrapping query 2015-01-17 22:12:25 +01:00
Bill Schaller
42bea80a6a Added failing test cases for limit queries with with complex scalar order by items 2015-01-17 22:12:25 +01:00
Bill Schaller
a4ebc08c4f * Modified tests in LimitSubqueryOutputWalkerTest.php to not have duplicated order by clauses
* Modified LimitSubqueryOutputWalker to not duplicate order by clauses
2015-01-17 22:12:25 +01:00
Marco Pivetta
b23a8dd429 Merge branch 'hotfix/#1262-restore-run-dql-command-functionality'
Close #1262
2015-01-17 21:31:11 +01:00
Marco Pivetta
fea0425a4f #1262 DDC-3513 - RunDqlCommand should write to the output object rather than to the output buffer 2015-01-17 21:31:00 +01:00
Marco Pivetta
f06d652393 #1262 DDC-3513 - RunDqlCommand should display the generated SQL when asked to do so 2015-01-17 21:30:34 +01:00
Marco Pivetta
1c6fd512a5 #1262 DDC-3513 - providing basic coverage for the RunDqlCommand logic 2015-01-17 21:27:32 +01:00
Bob van de Vijver
3c2ed7d8a8 Fixes the broken DQL command
Now it can again output more than only the created SQL query.
See cdb62a70cd (comments)
2015-01-17 13:21:30 +01:00
Marco Pivetta
fe4d46014d Merge branch 'hotfix/#1212-fix-regression-that-hid-join-aliases-in-criteria-expressions'
Close #1212
2015-01-17 08:35:27 +01:00
Kiel Goodman
0c5ea34fd4 [DDC-3436] Fix changes requested 2/2 2015-01-17 08:33:23 +01:00
Kiel Goodman
dc98da585d [DDC-3436] Fix changes requested 1/2 2015-01-17 08:33:23 +01:00
Kiel Goodman
349966832f [DDC-3436] Convert short array syntax to legacy style 2015-01-17 08:33:23 +01:00
Kiel Goodman
918d2910d9 [DDC-3108] Fix regression introduced in DDC-2764 where join aliases were no longer accessible in Criteria expressions 2015-01-17 08:33:23 +01:00
Marco Pivetta
6ba5211310 Merge branch 'hotfix/#1206-matching-should-not-modify-criteria'
Close #1206
2015-01-17 08:30:26 +01:00
Marco Pivetta
e9fd5678a5 #1206 DDC-3430 - PersistentCollection should not mutate the given Criteria instances when matching() 2015-01-17 08:30:16 +01:00
Oliver Tischlinger
f8072dd8e0 Fixed typo 2015-01-17 08:20:24 +01:00
Oliver Tischlinger
b5ba84f667 matching should not change critera
The matching should behave like in ArrayCollection, where it is not changed.
The criteria should be cloned so that it could be used for more than one matching operation.
2015-01-17 08:20:24 +01:00
Marco Pivetta
6164f17229 Merge branch 'hotfix/#1086-identifier-type-in-proxies'
Close #1086
2015-01-17 08:15:50 +01:00
Marco Pivetta
f13b085582 Using PersisterHelper instead of the unreliable ClassMetadataInfo#getTypeOfColumn() 2015-01-17 08:14:04 +01:00
Marco Pivetta
f1170c84a4 #1086 - Passing type information when building meta-mappings for JTI and STI inheritances 2015-01-17 08:09:55 +01:00
Marco Pivetta
40849f8ae1 #1086 - Minor CS fixes applied to the test case (simplifying) 2015-01-17 08:09:55 +01:00
Thomas Lallement
a0165858c4 Delete DDC0003Test.php 2015-01-17 08:09:55 +01:00
Thomas Lallement
033b8e51e9 Create DDC3223Test.php 2015-01-17 08:09:55 +01:00
Thomas Lallement
556c562258 Failing test (get id return string type) 2015-01-17 08:09:54 +01:00
Marco Pivetta
dad3a6bae1 Merge branch 'hotfix/#1178-correct-association-links-dbal-types-conversion'
Close #1178
2015-01-17 08:03:00 +01:00
Marco Pivetta
67f59dc256 Revert "#1178 - simplified ValueConversionType tests by using a single model-set for the entire subset of tests (faster as well)"
This reverts commit 2702540930.
2015-01-17 08:01:31 +01:00
Marco Pivetta
2702540930 #1178 - simplified ValueConversionType tests by using a single model-set for the entire subset of tests (faster as well) 2015-01-17 07:59:03 +01:00