Marco Pivetta
66c556fbfd
#1240 DDC-3479 - Fixing minor CS issues (naming, alignment)
2015-01-13 02:48:57 +01:00
Lars Strojny
8e4092750d
Include IDs in the exception message to ease debugging
2015-01-13 02:41:05 +01:00
Carnage
00b6f62287
Fixed issue
2015-01-13 02:36:58 +01:00
Vladislav Veselinov
79bf84e1ad
revert typehint change
2015-01-13 02:05:49 +01:00
Vladislav Veselinov
9cb17d2915
EntityManagerInterface instead of EntityManager
...
Make connection available in filters
Add test for the changes
2015-01-13 02:05:49 +01:00
Marco Pivetta
f571a9ef88
#470 DDC-54 DDC-3005 - query iteration must cause eager hydrationComplete
logic to be fired
2015-01-13 01:42:38 +01:00
Marco Pivetta
a884452ffc
#470 DDC-54 DDC-3005 - removing unused PostLoadEventDispatcher
2015-01-13 01:16:46 +01:00
Marco Pivetta
b1144e74ea
#470 DDC-54 DDC-3005 - reverting hydrator changes, as patch DDC-3005 already deals with the issue
2015-01-13 01:09:23 +01:00
Lukasz Cybula
aa4796cd0d
Moved postLoad dispatching from UnitOfWork to object hydrators
2015-01-13 01:03:48 +01:00
Marco Pivetta
d09280a1dc
#1001 DDC-3005 - HydrationCompleteHandler
cs fixes (line-wrap)
2015-01-13 00:52:12 +01:00
Marco Pivetta
45221b1951
#1001 DDC-3005 - removed HydrationCompleteHandler#invokeAllDeferredPostLoadEvents()
(useless method call indirection)
2015-01-13 00:51:44 +01:00
Marco Pivetta
c9ccd91421
#1001 DDC-3005 - optimized HydrationCompleteHandler
imports
2015-01-13 00:50:19 +01:00
Marco Pivetta
730c2a81f7
#1001 DDC-3005 - HydrationCompleteHandler
static introspection cleanups, as well as memory and performance improvements
2015-01-13 00:50:05 +01:00
Marco Pivetta
7b81cfb6ea
#1001 DDC-3005 - Minor CS fixes in HydrationCompleteHandler
2015-01-13 00:33:15 +01:00
Marco Pivetta
89530f88f7
#1001 DDC-3005 - Removing dead assignment HydrationCompleteHandler#__construct()
2015-01-13 00:32:10 +01:00
Marco Pivetta
516d04c391
#1001 DDC-3005 - Removing useless dependency from the HydrationCompleteHandler
to the UnitOfWork
2015-01-13 00:31:32 +01:00
Marco Pivetta
af93539576
#1001 DDC-3005 - HydrationCompleteHandler
should accept EntityManagerInterface
instances
2015-01-13 00:06:07 +01:00
Marco Pivetta
22e12e0043
#1001 DDC-3005 - coverage annotations, minor CS fixes
2015-01-12 23:50:16 +01:00
Strate
0c8a31bf2b
DDC-3005. Revert empty line. Removed @since annotation
2015-01-12 22:34:24 +01:00
Strate
35ea399d33
DDC-3005 Defer invoking of postLoad event to the end of hydration cycle.
...
1. Refactor handling of hydration complete: delegate this task to special object
2. Write test case for situation, when inside postLoad listener other entity is loading.
3. Make test, written on second step, be able to pass :)
2015-01-12 22:34:24 +01: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
Guilherme Blanco
932a56f26f
Internalize UnitOfWork in CollectionPersisters. Updated related code.
2015-01-12 19:52:27 +00:00
Guilherme Blanco
c5f1b99721
Fixed wrong return.
2015-01-12 18:18:15 +00:00
Guilherme Blanco
73afcec22a
Implemented support for one to many extra lazy with joined inheritance.
2015-01-12 18:15:13 +00:00
Benjamin Morel
fbcf18cf33
Changed $this return type to static in AbstractQuery
...
This allows IDEs and static code analysis tools to properly understand the return type when chaining methods, for example when using the QueryBuilder.
2015-01-11 16:48:09 +00:00
Marco Pivetta
be91cc9bb3
Merge pull request #1239 from deeky666/fix-index-duplication
...
Fix index duplication for unique association join columns
2015-01-09 23:07:50 +01:00
Marco Pivetta
664b6bf4c5
Merge pull request #1227 from c960657/production-settings-query-cache
...
Ensure query cache is not ArrayCache in production
2015-01-09 16:58:38 +01:00
Steve Müller
d1e5034659
fix index duplication for unique association join columns
2015-01-08 15:39:41 +01:00
Andrey Knupp Vital
08e8af9372
Type-hinting SimpleXMLElement
(_getCascadeMappings)
2015-01-08 09:28:15 -02:00
Andrey Knupp Vital
b90943c56b
Minor improvements
2015-01-08 09:04:37 -02:00
Andrey Knupp Vital
4935da138d
Respecting use-column-prefix
instead of relying on false/0 of column-prefix
2015-01-08 00:10:24 -02:00
Andrey Knupp Vital
8bbc492978
Removing weird strict comparison on different types
2015-01-07 17:24:44 -02:00
Andrey Knupp Vital
82cda1ecb0
Prevents prefixing a column when false
on column-prefix
(XML)
2015-01-07 17:22:48 -02:00
Guilherme Blanco
ef65270387
Merge pull request #1230 from johannes/master
...
Allow dumping SQL query when passing DQL on cli
2015-01-06 21:39:11 -05:00
Marco Pivetta
6448627bc9
Merge pull request #1233 from SofHad/refactoring-duplicate-code
...
[Minor] Refactoring to avoid duplicate code
2015-01-04 22:59:05 +01:00
SofHad
eb22db0dcf
remove the unnecessary check
2015-01-04 21:01:32 +01:00
Martin Prebio
8f15c5e905
Consistent return type confirming with interface
2014-12-31 01:28:05 +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
Johannes Schlüter
cdb62a70cd
Allow dumping SQL query when passing DQL on cli
2014-12-24 14:15:23 +01:00
Christian Schmidt
61c72e4aa7
Ensure query cache is not ArrayCache in production
2014-12-19 20:18:45 +01:00
Gareth Evans
2fac6272a1
Checks key exists rather than isset
...
If the default value is set to `null`, `isset` will return `false` even though the key is actually there for a reason.
2014-12-08 01:31:14 +01:00
Marco Pivetta
cf1b16a505
#1213 - DDC-3437 - renaming variables/alignment/clarifications in docblocks
2014-12-08 01:22:20 +01:00
Austin Morris
d48546d2dd
fix instantiation of embedded object in ReflectionEmbeddedProperty
2014-12-08 01:06:11 +01:00
Fedik
c1eff7045a
XML export driver: fix export options
2014-12-07 13:05:19 +02:00
Guilherme Blanco
0059e01936
Merge pull request #1208 from Ocramius/hotfix/DDC-3427-class-metadata-factory-should-accept-entitymanagerinterface-instances
...
DDC-3427 - class metadata factory should accept `EntityManagerInterface` instances
2014-12-05 12:22:23 -05:00
Marco Pivetta
ac67a10d4c
DDC-3434 - adding note on why restoring 'HIDDEN' selected fields is relevant
2014-12-05 18:02:12 +01:00
Marco Pivetta
6169175a89
DDC-3434 - HIDDEN
modifier marked fields in ORDER BY
clause are always preserved when creating a paginator subquery
2014-12-05 17:11:57 +01:00