Marco Pivetta
a710706c81
#385 #1181 DDC-3385 - optimized imports, removing duplicate imports (caused by rebase conflicts)
2015-01-13 20:00:40 +01:00
Marco Pivetta
e4cbdb57ad
Enabling fallback logic in metadata loading
2015-01-13 19:50:55 +01:00
Marco Pivetta
d91b0b4938
Minor CS fixes in the ResolveTargetEntityListener
2015-01-13 19:50:17 +01:00
Marco Pivetta
f5eb20b63d
OnClassMetadataNotFoundEventArgs
should support setting the actually resolved ClassMetadata
as a mutable event result vector
2015-01-13 19:50:17 +01:00
Bart van den Burg
3be43a1def
Rebased and renamed PreLoadClassMetadata to OnClassMetadataNotFound
2015-01-13 19:49:57 +01:00
Bart van den Burg
437f812718
Added new event to allow actions to be done before trying to load class metadata
2015-01-13 19:49:57 +01:00
Bart van den Burg
51528fbdea
set metadata for interface to be able to fetch entites by interface name
2015-01-13 19:49:57 +01:00
Marco Pivetta
9c3cb57931
Merge branch 'optimize-persisters'
...
Close #1246
2015-01-13 15:05:45 +01:00
Marco Pivetta
35dd7f8e2b
#1246 DDC-3487 - docblock args fixes
2015-01-13 15:03:04 +01:00
Marco Pivetta
278b8bfa08
#1246 DDC-3487 - minor alignment fixes
2015-01-13 14:58:56 +01:00
Marco Pivetta
7f71cbc8c7
#1246 DDC-3487 - removed unused assignment, minor alignment fixes
2015-01-13 14:54:00 +01:00
Marco Pivetta
97d1d5343e
#1246 DDC-3487 - removed unused assignment, making $association
variable overwrite more obvious
2015-01-13 14:46:34 +01:00
Marco Pivetta
c4366124c7
#1246 DDC-3487 - removed unused assignment, direct return instead
2015-01-13 14:45:13 +01:00
Marco Pivetta
17a865ec7f
#1246 DDC-3487 - correcting docblock (static introspection fix)
2015-01-13 14:39:05 +01:00
Marco Pivetta
b99f4461be
#1246 DDC-3487 - re-aligning SQL string concatenation for readability, fixed docblock return value hint
2015-01-13 14:37:32 +01:00
Marco Pivetta
5942b6c302
#1246 DDC-3487 - re-aligning SQL string concatenation for readability
2015-01-13 14:31:22 +01:00
Marco Pivetta
77234d6aec
#1246 DDC-3487 - removing unused assignment
2015-01-13 14:30:51 +01:00
Marco Pivetta
a8dcc2acf3
#1246 DDC-3487 - removing possible undefined value path for $newValId
for clarity
2015-01-13 14:05:27 +01:00
Guilherme Blanco
de4723883f
Merge pull request #1171 from jaimz22/master
...
Improvements for complex select statements when using new object expression
2015-01-12 22:48:56 -05:00
Guilherme Blanco
bc268da8c2
Small optimization.
2015-01-13 03:30:07 +00:00
Guilherme Blanco
678f47f494
More deprecated code removal.
2015-01-13 02:52:31 +00:00
Guilherme Blanco
965cdbdbbb
Optimized column to field resolutions.
2015-01-13 02:18:49 +00:00
Guilherme Blanco
96955d6e79
Some small improvements to persisters.
2015-01-13 02:05:33 +00:00
Marco Pivetta
1bfa7ea754
#1240 DDC-3479 - Basic coverage for EntityNotFoundException
2015-01-13 02:55:51 +01:00
Marco Pivetta
fc72b41953
#1240 DDC-3479 - Using a static proxy constructor rather than the default constructor
2015-01-13 02:51:47 +01:00
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
Guilherme Blanco
dd883f2136
Moved delete() and update() to proper locations.
2015-01-12 22:04:04 +00: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