Marco Pivetta
673323fc67
Adding warnings about deprecation of GIT, TAR and PEAR autoloading
2013-02-04 23:30:02 +01:00
Benjamin Eberlei
71a68a5c6f
Merge pull request #423 from FabioBatSilva/DDC-1955
...
DDC-1955 - @EntityListeners
2013-02-02 11:47:46 -08:00
Fabio B. Silva
7b0f59ed7c
split override test
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
a01d6583d3
implements a entity listener resolver
2013-01-29 12:14:52 -02:00
Fabio B. Silva
a265511368
rename subscribers to listeners
2013-01-29 12:14:52 -02:00
Fabio B. Silva
69bfc71b6a
test event listeners lifecycle callback
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
6be7a03b72
fix previous test
2013-01-29 12:14:52 -02:00
Fabio B. Silva
4cfe2294e3
test lifecycle callbacks event args
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
dbd0697c2c
test @PostLoad
2013-01-29 12:14:51 -02:00
Fabio B. Silva
315f7ba43b
call listeners in UoW
2013-01-29 12:14:51 -02:00
Fabio B. Silva
ccc0a2a94f
test entity listener calls
2013-01-29 12:14:51 -02:00
Fabio B. Silva
368cf73f89
entity listeners mapping
2013-01-29 12:14:51 -02:00
Szczepan Cieślik
92ada246b5
[DDC-2256] Code improvements.
2013-01-26 09:09:21 +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
1949ff8602
[DDC-2256] Added test for hydrator.
2013-01-24 23:10:50 +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
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
Benjamin Eberlei
3ccbbcb0b5
DDC-2231 - Simplify test
2013-01-12 10:29:11 +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
6032e3efd8
Added test
2013-01-10 16:10:29 +01:00
Benjamin Eberlei
0b2d3d4f5d
DDC-2173 - Correct issue is about "postFlush" not "preFlush" and add test
2013-01-06 19:16:12 +01:00
Benjamin Eberlei
512a001e8c
DDC-2173 - Add Test for new OnFlush or PreFlush behavior and update UPGRADE.md
2013-01-06 19:11:52 +01:00
Benjamin Eberlei
90b6d5e293
Merge branch 'master' of github.com:doctrine/doctrine2
2012-12-24 10:40:52 +01:00
Benjamin Eberlei
e2c1ff1a48
[DDC-2175] Fix bug in JoinedSubclassPersister
2012-12-24 10:39:23 +01:00
Benjamin Eberlei
904effcf4e
Merge pull request #538 from FabioBatSilva/identity-composite-key
...
IDENTITY() Support composite primary key
2012-12-24 01:19:05 -08:00
Benjamin Eberlei
e319e34783
Merge pull request #528 from BenMorel/master
...
Documentation fixes
2012-12-23 12:22:09 -08:00
Fabio B. Silva
2e90cd9924
Identity function support composite primary key
2012-12-22 10:36:23 -02:00
Patrick Schwisow
bc6921504a
[DDC-1690] Created unit test
2012-12-21 14:32:10 -06:00
Thomas Rothe
86c33d78d0
inheritance with composite keys
...
added tests for single table inheritance
2012-12-17 11:01:20 +01:00
Thomas Rothe
fb055ca75d
fixed problems with joined inheritance and composite keys
...
SchemaTool now creates all Id columns not just only the first one.
Insert statement for child entity now contains parameter for additional key columns only once.
2012-12-16 18:20:10 +01:00
Francis Besset
657a54da84
Passed column options to the join column
2012-12-04 12:26:40 +01:00
Benjamin Morel
43b301f22b
Fixed English mistakes
2012-12-03 11:02:29 +00:00
Jan Kramer
9b78100378
[DDC-2074] Added test for PersistentCollection#clear.
2012-11-25 19:27:24 +01:00
Benjamin Eberlei
f25b098029
[DDC-2055] Add Test for EntityRepository#createResultSetMappingBuilder
2012-11-19 17:45:14 +01:00
Benjamin Eberlei
17bb564534
[DDC-2055] Some adjustments to ResultSetMappingBuildder patch
2012-11-19 16:54:56 +01:00
Benjamin Eberlei
5e2a433828
Inlined Test and Entities into DDC2138Test
2012-11-12 14:59:48 +01:00
Guilherme Blanco
d6d5c341e2
Merge pull request #486 from FabioBatSilva/DDC-2084
...
Fix DDC-2084
2012-11-05 16:38:35 -08:00
Fabio B. Silva
62f43e6ea2
remove require_once
2012-11-05 22:23:44 -02:00
Fabio B. Silva
a09a5b9b7b
Fix DDC-2084
2012-11-05 22:23:44 -02:00
Guilherme Blanco
283ed55824
Merge pull request #504 from nemekzg/DDC-1241
...
Proposed fix for DDC-1241
2012-11-05 16:14:48 -08:00
nemekzg
9705ee89d9
Proposed fix for DDC-1241
2012-11-05 19:55:54 +01:00
Guilherme Blanco
7d7287a1ba
Merge pull request #434 from bamarni/filter-objects
...
allowed to pass filter objects to the configurator
2012-11-02 17:52:23 -07:00
Vaughn Clayton
ae30ce4596
[DDC-2113] Surround WHERE clause with parens if using SQLFilter
2012-11-02 08:48:57 -04:00
Benjamin Eberlei
235ad8e553
[DDC-2052] Add SqlWalker::setQueryComponent() to allow modification of the query component in a custom output walker
2012-10-06 11:16:16 +02:00
Benjamin Eberlei
44c0ca4d3c
[DDC-2059] Fix column and foreign key interfering with each other during reverse engineering.
2012-10-05 20:03:51 +02:00
Benjamin Eberlei
a0440b63bb
Merge pull request #462 from doctrine/DDC-2055
...
[DDC-2055] Generate SELECT clause from ResultSetMappingBuilder
2012-10-05 09:46:37 -07:00
Benjamin Eberlei
13762f20c9
Merge pull request #422 from FabioBatSilva/DDC-1574
...
DDC-1574 - "new" operator
2012-10-05 07:31:18 -07:00
Benjamin Eberlei
913377e31b
[DDC-2055] Add support to generate entity result parts of the SELECT clause from a ResultSetMappingBuilder instance. Add support for column incrementing.
2012-10-03 12:35:14 +02:00
Fabio B. Silva
5cb4466f7c
Fix test case
2012-09-30 15:47:00 -03:00
Fabio B. Silva
4510f5a5b8
Fix DDC-2012
2012-09-30 15:40:19 -03:00
Fabio B. Silva
7c754e495e
support namespace alias
2012-09-29 16:19:03 -03:00
Fabio B. Silva
1bd6e841bf
Fix some CS
2012-09-29 16:19:02 -03:00
Fabio B. Silva
de93983dff
assume entity namespace when not given
2012-09-29 16:19:02 -03:00
Fabio B. Silva
3aa8d3fdac
test constructor exceptions
2012-09-29 16:19:01 -03:00
Fabio B. Silva
4dca27962e
support multiple operators
2012-09-29 16:19:01 -03:00
Fabio B. Silva
6844116b94
test case expression
2012-09-29 16:19:00 -03:00
Fabio B. Silva
f0403a5394
test literal values
2012-09-29 16:19:00 -03:00
Fabio B. Silva
e5e45a3a5c
test sql generation
2012-09-29 16:18:59 -03:00
Fabio B. Silva
ddb2651691
fix tests on postgres
2012-09-29 16:18:59 -03:00
Fabio B. Silva
af2f556fd3
small refactory
2012-09-29 16:18:59 -03:00
Fabio B. Silva
b19e4a6440
support arithmetic expression and aggregate functions
2012-09-29 16:18:58 -03:00
Fabio B. Silva
88f04b5ebd
parse nested new operators
2012-09-29 16:18:58 -03:00
Fabio B. Silva
2b403b7dad
basic support refactory
2012-09-29 16:18:58 -03:00
Fabio B. Silva
0fbb78e61a
basic support, need some code refactory and improvements
2012-09-29 16:18:57 -03:00
Fabio B. Silva
ed89695a8c
collect new object parameters
2012-09-29 16:18:57 -03:00
Stefano Rodriguez
9a14b40495
use of assertCount
2012-09-07 14:44:18 +02:00
Stefano Rodriguez
4b3ecfe674
Added a failing test case on PersistentCollection::matching() when collection is not initialized and there are NEW entities in the collection
2012-09-07 10:46:33 +02:00
Bilal Amarni
a9b4debe37
allowed to pass filter objects to the configurator
2012-09-03 10:52:46 +02:00
Josiah Truasheim
e0d16331a4
Fixed formatting issues identified by Stof
2012-08-31 19:51:22 +07:00
Josiah Truasheim
783c53d57c
Added a failing test for DDC-2003
2012-08-31 17:52:46 +07:00
Benjamin Eberlei
bc2476f342
[DDC-1918] Fix weird results at the end of paginator when using fetch joins
2012-08-29 15:16:07 +02:00
Benjamin Eberlei
104a76a6b1
Update EntityRepository and PersistentCollection to new Criteria#expr() method instead of having to implement themselves.
2012-08-01 21:37:22 +02:00
Benjamin Eberlei
e8d3fc73ff
Merge branch 'DDC-1964'
2012-07-29 11:25:54 +02:00
Benjamin Eberlei
7c1235dedb
[DDC-1964] Fix issue with refresh and and object hydrator not setting field to null explicitly to override possible previous values.
2012-07-29 11:25:45 +02:00
Benjamin Eberlei
bcbef5670c
Merge branch 'DDC-1939'
2012-07-29 09:27:20 +02:00
Benjamin Eberlei
354fa14df4
[DDC-1939] Add test for persistent collection delete with composite key
2012-07-29 09:27:08 +02:00
Guilherme Blanco
04e6cc78cd
Fixed is_subclass_of comparing an interface which brought our requirement to 5.3.9. Changed to reflection approach which still keep us at the same dependency as before.
2012-07-26 15:50:51 -04:00
Johannes M. Schmitt
fc4a07c2b3
added failing test for refresh with eager fetching
2012-07-26 12:54:58 +02:00
Marco Pivetta
5b3eee8071
DDC-1925 - squashing ticket tests into a single file
2012-07-20 00:03:39 +02:00
Marco Pivetta
81f97e92d3
Adding tests for DDC-1925
2012-07-19 22:00:56 +02:00
Benjamin Eberlei
b2385e0afa
[DDC-1637] Implementation of Criteria Collections API for
...
PersistentCollection (OneToMany only) and EntityRepository.
2012-07-09 09:59:48 +02:00
Benjamin Eberlei
4aafeaf7a6
Fix test on PostgreSQL
2012-07-09 09:55:41 +02:00
Benjamin Eberlei
fe292cc503
Merge pull request #392 from widop/patch-1
...
Invalid paginator query cloning
2012-07-08 09:34:09 -07:00
Benjamin Eberlei
3b04cf5b2f
Merge pull request #396 from Ocramius/DDC-1893
...
DDC-1893 - Updating configuration to reflect latest Doctrine Common changes
2012-07-08 09:26:15 -07:00
Benjamin Eberlei
6e924f2a2c
[DDC-1657] Prove that DBAL changes also work in ORM, not leading to drop sequence statements on postgresql with SERIAL pks.
2012-07-08 18:22:38 +02:00
Benjamin Eberlei
eaae1f222f
Fix PostgreSQL test-failure. UnitOfWork#getEntityState() produced exists() queries because of unmanaged entity passed as parameter to AbstractQuery#setParameter(), thereby skewing the sql count
2012-07-08 16:57:40 +02:00
Marco Pivetta
86dbddd596
Updating to reflect latest Doctrine Common changes
...
Also, changing logic so that the SimpleAnnotationReader is no more the
default one. An additional parameter for the method will allow using it.
The CS fixes that were additionally implemented (along with other minor changes
that do not affect BC compatibility are caused by a CS sniff via IDE.
2012-07-08 16:30:35 +02:00
Benjamin Eberlei
18d4a2f970
[DDC-1775] Fix NotifyPropertyChanged Listener being attached in addIdentityMap(), which is too late for certain use-cases in the persist lifecycle.
2012-07-07 17:47:29 +02:00
Eric GELOEN
3bdf86922c
Add clone query test
2012-07-07 17:35:05 +02:00
Benjamin Eberlei
3783ca6b43
[DDC-1707] Working testcase
2012-07-07 17:15:32 +02:00
Benjamin Eberlei
cc4613533b
Fix tests after DBAL adjustments
2012-07-04 23:58:41 +02:00
Fabio B. Silva
632d13ba0c
fix extra lazy count
2012-07-04 17:11:43 -03:00
Fabio B. Silva
fe11831bd7
test remove item and clear collection
2012-07-04 17:11:43 -03:00
Fabio B. Silva
076663fe3a
fix DDC-1885 in persisters
2012-07-04 17:11:42 -03:00
Fabio B. Silva
e0a236a9af
fix DDC-142 load OneToOne EAGER
2012-06-18 14:43:00 -03:00