Marco Pivetta
ad056ebdc6
Merge pull request #1462 from DHager/document_transactional
...
Add a note to documentation for transactional()'s return values
2015-07-16 20:56:04 +01:00
Marco Pivetta
506df640b5
Merge pull request #1433 from goetas/slc-check-to-classmetadatainfo
...
Check for non-cacheable entities on metadata level, not at runtime
2015-07-16 20:41:30 +01:00
Asmir Mustafic
3a7b2991e8
PSR-2 CS improvements
2015-07-16 16:20:36 +02:00
Darien Hager
72d848901b
Add reminder to README for initializing git submodules
2015-07-15 18:59:14 -07:00
Darien Hager
8503c1247f
Document return-value substitution in EntityManager::transactional()
2015-07-15 18:58:18 -07:00
Marco Pivetta
6bf6db3533
Merge pull request #1451 from TomasVotruba/psr-4
...
composer: autoload via PSR-4
2015-07-15 22:24:59 +01:00
Marco Pivetta
70a22b6a73
Merge pull request #1390 from deviantintegral/chaincache-docs
...
Document the ChainCache class
2015-07-15 21:58:20 +01:00
Marco Pivetta
06a00cf073
Merge branch 'hotfix/#1387-DDC-3699-do-not-merge-managed-uninitialized-entities'
...
Close #1387
2015-07-15 21:51:21 +01:00
Marco Pivetta
eb5d87cd94
DDC-3699 - #1387 - leveraging the OrmFunctionalTestCase
API
2015-07-15 21:51:04 +01:00
Marco Pivetta
12183b7e6c
DDC-3699 - #1387 - catching specific exceptions
2015-07-15 21:47:37 +01:00
Marco Pivetta
74883e535f
DDC-3699 - #1387 - simpifying tests, clarifying on test method names
2015-07-15 21:46:23 +01:00
Lenard Palko
cbfd71cec6
Added test cases for both one-to-one and one-to-many cases.
2015-07-15 21:26:45 +01:00
Lenard Palko
977f0a5b5c
Fix skipping properties if they are listed after a not loaded relation.
2015-07-15 21:26:45 +01:00
Marco Pivetta
67cda0cd75
Merge branch 'hotfix/#1381-wakeup-reflection-with-embeddable-and-staticreflection-serialization-fix'
...
Close #1381
2015-07-15 20:49:40 +01:00
Nico Vogelaar
b3af5590f9
Fixes ClassMetadata wakeupReflection with embeddable and StaticReflectionService
2015-07-15 20:49:16 +01:00
Marco Pivetta
34eb4fdec5
Merge branch 'hotfix/#1380-non-cache-persister-bug'
...
Close #1380
2015-07-15 20:37:30 +01:00
Marco Pivetta
56cedc5d4f
DDC-3683 - #1380 - reverting BC break, annotating correct types, cs fixes
2015-07-15 20:35:21 +01:00
Darien Hager
77d03ec745
Remove runtime assertion
2015-07-15 20:29:44 +01:00
Darien Hager
6f1107c4ee
Clarify state-changes, replace array_key_exists() with isset() for speed
2015-07-15 20:29:43 +01:00
Darien Hager
1659fab44f
Whitespace formatting tweaks
2015-07-15 20:29:43 +01:00
Darien Hager
d0892b21fb
Remove now-superfluous EntityManager check
2015-07-15 20:29:43 +01:00
Darien Hager
6d6a6a7fbd
Refactor LoadClassMetadataEventArgs to ensure it contains an EntityManager
2015-07-15 20:29:43 +01:00
Darien Hager
e8854b68bb
Change the test listener than layers on second-level-caching so that it is more conservative, only turning on caching-associations when it knows the target entity is cache-able.
2015-07-15 20:29:43 +01:00
Darien Hager
cddbbf00b4
Stumbled across a bug where signatures didn't match, but also the current persister-type didn't support getCacheRegion(). Unsure of exact mechanism, but clearly the constructor doesn't take the second argument anyway, may be old code.
2015-07-15 20:29:43 +01:00
Marco Pivetta
4b1851467b
Merge pull request #1458 from phansys/patch-1
...
[Paginator] Fixed boolean casting
2015-07-15 08:11:43 +01:00
Javier Spagnoletti
cedff7715e
[Paginator] Fixed boolean casting in Paginator
...
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets |
| License | MIT
| Doc PR |
2015-07-14 16:48:42 -03:00
Tomas Votruba
726383cafb
composer: autoload via PSR-4
2015-07-08 01:51:16 +02:00
Guilherme Blanco
33c2ae465d
Merge pull request #1449 from dunglas/patch-1
...
minor: code quality in Paginator
2015-07-07 11:03:03 -04:00
Kévin Dunglas
abf6b8bee5
minor: Code quality in Paginator
2015-07-07 10:09:06 +02:00
Guilherme Blanco
96b065b282
Merge pull request #1447 from krispypen/patch-1
...
Fix second level caching for queries with multiple joins
2015-07-06 09:49:35 -04:00
Kris Pypen
5780f3209c
wrote a Test for second level cache with multiple levels of associations
2015-07-06 14:18:38 +02:00
Kris Pypen
a2a400b8fb
Fix second level caching for queries with multiple joins
...
The $metadata of the main entity is not always the metadata you need here, for example when you do join A with B and then B with C. For the second join it was using the metadata from A.
2015-07-03 14:45:25 +02:00
Asmir Mustafic
32f0fefec7
Test XML driver with failing SLC mapping
2015-06-20 14:33:36 +02:00
Asmir Mustafic
4da0ee9db8
Test PHP driver with failing SLC mapping
2015-06-20 14:33:36 +02:00
Asmir Mustafic
5f2922b3a7
Test annotation driver with failing SLC mapping
2015-06-20 14:32:15 +02:00
Asmir Mustafic
012367a371
Removed runtime check test for non-cacheable entities
2015-06-20 14:32:14 +02:00
Asmir Mustafic
acbda4bc0e
YAML driver uses getAssociationCacheDefaults for SLC mapping
2015-06-20 14:32:14 +02:00
Asmir Mustafic
7d64be915c
XML driver uses getAssociationCacheDefaults for SLC mapping
2015-06-20 14:32:14 +02:00
Asmir Mustafic
f4f32a5213
Annotation driver uses getAssociationCacheDefaults for SLC mapping
2015-06-20 14:32:14 +02:00
Asmir Mustafic
11be4fae86
Do not check at runtime for non-cacheable associations
2015-06-20 14:32:14 +02:00
Asmir Mustafic
c685255fe3
Check for non-cacheable associations directly on the class metada info
2015-06-20 14:32:14 +02:00
Asmir Mustafic
6a428c6064
Allow to retreive association cache defaults
2015-06-20 14:32:14 +02:00
Bill Schaller
6b3056ff8c
Merge pull request #1430 from michael-lavaveshkul/master
...
"INSTANCE OF" example doesn't match description.
2015-06-18 10:30:14 -04:00
michael-lavaveshkul
073f570c67
Updated "INSTANCE OF" example code.
2015-06-17 22:15:17 -07:00
Marco Pivetta
37a409aa1f
Merge pull request #1429 from hallabro/update-preupdate-documentation
...
Update events.rst to reflect behaviour of preUpdate
2015-06-17 08:25:37 +01:00
Robin Hallabro
63a543d6a0
Update events.rst to reflect behaviour of preUpdate
2015-06-17 07:57:11 +02:00
Thomas Lallement
f41e59258c
Failing Test - Paginator with sorted collection
2015-06-16 16:34:37 -04:00
Benjamin Eberlei
ae5b8178e7
Merge pull request #1406 from XitasoChris/patch-1
...
add default value for GeneratedValue
2015-06-16 22:25:49 +02:00
Benjamin Eberlei
5ae40d571a
Merge pull request #1409 from haeber/patch-1
...
Added PHPDoc return type false of next method in Hydration/IterableResult
2015-06-16 22:21:20 +02:00
Benjamin Eberlei
8d1be42924
[DDC-3741] Add test for AbstractQuery#setHydrationCacheProfile(null)
2015-06-16 21:56:25 +02:00