Guilherme Blanco
114827a4b3
Merge pull request #565 from BenMorel/unusedvar
...
Removed an unused local variable.
2013-02-02 20:05:42 -08:00
Benjamin Morel
2bfbe03e37
Fixed return statements in SchemaTool.
2013-02-03 01:42:27 +00:00
Benjamin Morel
4b58c6fc41
Removed an unused local variable.
2013-02-03 01:05:43 +00:00
Benjamin Eberlei
71a68a5c6f
Merge pull request #423 from FabioBatSilva/DDC-1955
...
DDC-1955 - @EntityListeners
2013-02-02 11:47:46 -08:00
Guilherme Blanco
dea37ed9e8
Merge pull request #554 from beregond/hydrator-fix
...
Fixed ObjectHydrator when namespace alias is given.
2013-02-02 11:18:00 -08:00
Jakub Vrana
819e5896bf
Fix error in QueryBuilder example
2013-01-30 11:11:09 -08:00
Fabio B. Silva
7177306536
remove extra comma
2013-01-29 12:14:53 -02:00
Fabio B. Silva
ec2d5af2c7
added missing file
2013-01-29 12:14:53 -02:00
Fabio B. Silva
e6d9d1de47
support naming convention for listeners without mapping.
2013-01-29 12:14:53 -02:00
Fabio B. Silva
46fea51622
use '!==' instead of '!='
2013-01-29 12:14:53 -02:00
Fabio B. Silva
e9c89cafb9
Fix DocBlock
2013-01-29 12:14:53 -02:00
Fabio B. Silva
6d7b3863b5
Use bitmask of subscribed event systems.
2013-01-29 12:14:53 -02:00
Fabio B. Silva
7b0f59ed7c
split override test
2013-01-29 12:14:53 -02:00
Fabio B. Silva
0d0fc320b4
Fix DocBlock
2013-01-29 12:14:53 -02:00
Fabio B. Silva
0d0f91a807
move listeners invocation from ClassMetadataInfo to ListenerInvoker
2013-01-29 12:14:53 -02:00
Fabio B. Silva
c60e3e4ba4
remove @LifecycleCallback
2013-01-29 12:14:52 -02:00
Fabio B. Silva
ffc8d032c7
Fix typo
2013-01-29 12:14:52 -02:00
Fabio B. Silva
195b639344
change xml driver to use <lifecycle-callback\>
2013-01-29 12:14:52 -02:00
Fabio B. Silva
6b7e588da5
fix CS
2013-01-29 12:14:52 -02:00
Fabio B. Silva
4be25cb330
small refactoring
2013-01-29 12:14:52 -02:00
Fabio B. Silva
8495eca1a4
rename test
2013-01-29 12:14:52 -02:00
Fabio B. Silva
a01d6583d3
implements a entity listener resolver
2013-01-29 12:14:52 -02:00
Fabio B. Silva
27745bb87b
Fix some CS
2013-01-29 12:14:52 -02:00
Fabio B. Silva
256cecbefa
evaluate as lifecycle callback if the listener class is not given.
2013-01-29 12:14:52 -02:00
Fabio B. Silva
fd6f592430
support @LifecycleCallback in @EntityListeners
2013-01-29 12:14:52 -02:00
Fabio B. Silva
f0b04375de
yaml driver
2013-01-29 12:14:52 -02:00
Fabio B. Silva
917aa70c97
test invalid class/method
2013-01-29 12:14:52 -02:00
Fabio B. Silva
7e54ae3702
xml driver
2013-01-29 12:14:52 -02:00
Fabio B. Silva
c6adcda567
give event to lifecycle callbacks
2013-01-29 12:14:52 -02:00
Fabio B. Silva
315f7ba43b
call listeners in UoW
2013-01-29 12:14:51 -02:00
Fabio B. Silva
3c223a59c4
move call listeners tests to AbstractMappingDriverTest
2013-01-29 12:14:51 -02:00
Fabio B. Silva
0f081d7c45
support short class name
2013-01-29 12:14:51 -02:00
Fabio B. Silva
368cf73f89
entity listeners mapping
2013-01-29 12:14:51 -02:00
aleks
dc190a297d
Fix typo
2013-01-27 11:09:26 +02:00
aleks
5e6bc0847f
Added support for order by scalar
2013-01-26 21:31:45 +02:00
Szczepan Cieślik
92ada246b5
[DDC-2256] Code improvements.
2013-01-26 09:09:21 +01:00
Szczepan Cieślik
935594578a
[DDC-2256] Code refactorization.
2013-01-25 13:15:14 +01:00
Szczepan Cieślik
d7f82221d1
[DDC-2256] Moved aliases translation to ResultSetMapping, fixed tests.
2013-01-25 12:06:13 +01:00
Szczepan Cieślik
23e0bb7345
Fixed ObjectHydrator when namespace alias is given.
2013-01-24 15:50:05 +01:00
Benjamin Eberlei
eedf85cbdb
[DDC-2243] Fix bug where a bigint identifier would be casted to an integer, causing inconsistency with the string handling.
2013-01-20 20:31:22 +01:00
Benjamin Eberlei
5298c03fce
[DDC-2246] Fix bug with UnitOfWork#getEntityState() and entities with foreign identifier.
2013-01-20 20:11:08 +01:00
Fabio B. Silva
93fba518a6
keep braces
2013-01-19 13:38:44 -02:00
Fabio B. Silva
4dcd5a1286
Fix DDC-2234
2013-01-18 23:18:50 -02:00
Fabio B. Silva
6074755b91
Fix DDC-1376
2013-01-13 22:39:59 -02:00
Benjamin Eberlei
6f572a61c7
Merge branch 'DDC-2231'
2013-01-12 10:29:20 +01:00
Guilherme Blanco
71efe2109a
Merge pull request #548 from nemekzg/DDC-2203
...
Fix for DDC-2203
2013-01-10 11:13:18 -08:00
nemekzg
cfd1b07ffe
Fix for DDC-2203
2013-01-10 16:52:19 +01:00
Stefan Kleff
dc925cc9c5
fixed indentation
...
Restored old way of injection to just inject it during a refresh
Added injection for initialized proxies
2013-01-10 15:19:44 +01:00
Stefan Kleff
151192ae37
The EntityManager was not injected in uninitialized proxys which are ObjectManagerAware.
...
I ran into that problem while I had two objects in the identitymap while hydrating a collection: one was new a "real" entity and the other one was an uninitialized proxy. For "real" entities the em is injected in line 2427, for new entities it is injected in 2436->2364, but for proxies this is missing. According to the comment "inject ObjectManager into just loaded proxies." the code in line 2427 should do this, but in fact it is just used if it is a "real" entity or an already initialized proxy. Moving the injection to outside of the condition in line 2411 (if the entity is an unitialized proxy) solves this.
2013-01-10 14:54:52 +01:00
Francesc Rosàs
1e669132c2
No huge if clause
2013-01-06 19:05:46 +01:00