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
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
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
74e93e4cad
Added multi-get support for second level cached collections
2015-01-17 22:27:58 +01:00
Guilherme Blanco
f90475772d
Classify persisters into more granular namespaces.
2015-01-16 00:10:25 +01:00
Marco Pivetta
0f2c117f3e
Cloning and configuring the cache adapter for each newly created cache region (fixes cache namespacing)
2015-01-15 21:17:49 +01:00
Marco Pivetta
514fd008b9
Cache regions will not modify the injected cache instance settings
2015-01-15 21:01:35 +01:00
Marco Pivetta
e2acd74cb4
#1072 DDC-3191 - minor performance optimization
2015-01-15 00:37:41 +01:00
Alexander Kurilo
58cd520e32
Fix attempt of traversing bool in FileLockRegion
2015-01-14 23:51:41 +01:00
Marco Pivetta
9c3cb57931
Merge branch 'optimize-persisters'
...
Close #1246
2015-01-13 15:05:45 +01:00
Marco Pivetta
22e12e0043
#1001 DDC-3005 - coverage annotations, minor CS fixes
2015-01-12 23:50:16 +01:00
Guilherme Blanco
dd883f2136
Moved delete() and update() to proper locations.
2015-01-12 22:04:04 +00:00
Strate
f3b31c2807
DDC-3005 Defer invoking of postLoad event to the end of hydration cycle.
...
This feature makes guarantee, that postLoad event fires after all associations are populated
2015-01-12 22:33:40 +01:00
SofHad
eb22db0dcf
remove the unnecessary check
2015-01-04 21:01:32 +01:00
Sofiane HADDAG
8d91f7de60
Rename handleCache to updateCache
2014-12-30 14:49:12 +01:00
shaddag
ccb09ad0ac
Rename the private method
2014-12-30 14:10:56 +01:00
shaddag
12b5a0cdd7
Extracted ony the common logic
2014-12-30 14:06:48 +01:00
shaddag
50ef1369c3
[Minor] Refactoring to avoid duplicate code
2014-12-30 10:03:49 +01:00
Steve Müller
ad1f228ef6
fix DocBlock
2014-08-22 09:26:54 +02:00
Michaël Gallego
140dc92e5f
Enforce Criteria
2014-05-18 12:47:59 +02:00
Michaël Gallego
8a8c6ea3a6
Remove extra phpdoc
2014-05-17 14:53:06 +02:00
Michaël Gallego
239b862665
Add missing typehint
2014-05-17 13:00:47 +02:00
Michaël Gallego
a04113f410
Add support for optimized contains
2014-05-17 12:54:25 +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
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
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
9b2ee88683
DDC-3078 - removing cache class name setter/getter from cache configuration API
2014-04-17 15:16:58 -04:00
Marco Pivetta
e5f79d1f73
DDC-3078 - adding API for cache instantiation to the configuration object
2014-04-17 15:16:56 -04:00
Guilherme Blanco
44c1dae1b9
Merge pull request #885 from bakura10/criteria-many-to-many
...
Add support for ManyToMany Criteria
2014-03-16 11:33:10 -05:00
Fabio B. Silva
e9ec0a24da
[SLC] resolve association cache entry
2014-03-06 20:44:59 -05:00
Fabio B. Silva
cbdd8bc041
[SLC] Fix query association proxy
2014-03-05 04:10:07 -05:00
Fabio B. Silva
f4c63f8238
[SLC] Support criteria
2014-03-01 00:59:34 -05:00
Michaël Gallego
e5ba28676d
fallback to persister count
2014-02-18 10:26:25 +01:00
Michaël Gallego
fbbe922cb6
Fix tests
2014-02-18 10:26:25 +01:00
Asmir Mustafic
a5fbb20fbb
Can cache many to many empty relations
2014-02-11 15:08:49 +01:00
Asmir Mustafic
1c94c16234
Can cache empty collections
...
I should be able to cache an "empty" collection.
I have a some objects, where 90% of these have on-to-many relations with zero associated elements.
This causes doctrine to run a query each time, instead of cache it as empty relation.
2014-02-11 14:59:31 +01:00
Benjamin Morel
08f6291350
Cleaned up further unused imports.
2014-02-09 23:45:22 +00:00
Benjamin Eberlei
960fbfc110
Merge pull request #908 from FabioBatSilva/DDC-2862
...
[DDC-2862][SLC] Fix lazy association load
2014-02-08 15:55:20 +01:00