Guilherme Blanco
5ab4c3d50c
Added programatical support to define indexBy on root aliases.
2015-02-25 14:29:10 -05:00
Guilherme Blanco
4680a7b861
Fixed bug where embedded reflection fields were never exposed to userland.
2015-02-20 14:10:28 -05:00
Marco Pivetta
1f67218dc5
#1229 - code style fixes (alignment/spacing)
2015-02-16 02:06:22 +00:00
Guido Contreras Woda
baeab5d4f4
More consistent test naming
2015-02-16 02:02:29 +00:00
Guido Contreras Woda
51881fed94
Added tests and validation on joinColumns being set before checking if its a composite key.
2015-02-16 02:02:29 +00:00
Dries De Peuter
4a6afb46e2
Fix join when recreation of query from parts.
2015-02-16 01:23:27 +00:00
Asmir Mustafic
2e890362c5
Tested second level cache with composite primary keys
2015-02-16 00:53:46 +00:00
Asmir Mustafic
7222991b13
Tested composite primary key support
2015-02-16 00:53:46 +00:00
Asmir Mustafic
2eb7dedf4f
Refactored IdentifierFlattener
2015-02-16 00:53:46 +00:00
Ryan Weaver
75bb3a0de3
Small code change thanks to the comments and adding a test
2015-02-04 13:49:51 -05:00
Marco Pivetta
17a23ea825
Merge pull request #1222 from guiwoda/embeddables-in-metadata-builder
...
Embeddables in metadata builder
2015-01-28 22:25:10 +00:00
Marco Pivetta
3ed73b4a60
Merge pull request #1288 from Ocramius/hotfix/#1169-extra-lazy-one-to-many-is-noop-when-not-doing-orphan-removal
...
Hotfix - #1169 - extra lazy one to many must be no-op when not doing orphan removal
2015-01-28 20:27:22 +00:00
Marco Pivetta
e76b20b109
#1169 DDC-3343 - removing note about query count assertion
2015-01-28 20:01:57 +00:00
Steve Müller
3b61d2d0fe
initialize database schema only once and avoid unnecessary connections
2015-01-27 12:28:31 +01:00
Steve Müller
75e41eefb5
fix indentation
2015-01-27 10:02:57 +01:00
Steve Müller
2fbc483fe3
apply current implementation from DBAL @ dcdf744e3fdd2ba99239ee41009e08a4b6450eff
2015-01-27 09:40:45 +01:00
Marco Pivetta
c4019d96b9
#1169 DDC-3343 - when a deletion fails for some reason, related cache entries should be evicted to avoid collisions with DB state
2015-01-27 09:03:36 +01:00
Marco Pivetta
3f28adf9b6
#1169 DDC-3343 - correcting collection name used in tests
2015-01-27 07:45:58 +01:00
Marco Pivetta
a0eb6005f3
#1169 DDC-3343 - adding tests for orphan-removal + extra-lazy + one-to-many element removal behavior
2015-01-27 07:42:48 +01:00
Marco Pivetta
539c364ca6
#1169 DDC-3343 - updating test expectations - one-to-many changes should be no-op unless orphan removal is specified.
2015-01-27 06:26:55 +01:00
Marco Pivetta
9839c400b8
#1169 DDC-3343 - updating test expectations - one-to-many changes should be no-op unless orphan removal is specified.
2015-01-27 06:19:26 +01:00
Marco Pivetta
146354d835
Merge pull request #1280 from Ocramius/hotfix/#1277-find-one-with-eager-loads-is-failing
...
[DDC-3346] #1277 find one with eager loads is failing
2015-01-25 06:00:47 +01:00
Marco Pivetta
d024193cc0
Merge pull request #1272 from Ocramius/hotfix/DDC-2704-merge-inherited-transient-properties
...
[DDC-2704] - merge inherited transient properties - merge properties into uninitialized proxies
2015-01-25 05:55:53 +01:00
Marco Pivetta
5bf18298b1
Merge pull request #1281 from Ocramius/hotfix/#1169-extra-lazy-one-to-many-should-not-delete-referenced-entities
...
Hotfix/#1169 extra lazy one to many should not delete referenced entities
2015-01-25 05:43:34 +01:00
Marco Pivetta
7e85c94f48
#1169 DDC-3343 - adapting cached collection persister logic to EXTRA_LAZY collection behavior
2015-01-25 04:40:30 +01:00
Marco Pivetta
dff365318d
#1277 DDC-3346 DDC-3531 - enforcing 0
offset to avoid persisting more than 1 row
2015-01-24 14:39:47 +01:00
Marco Pivetta
186c593058
#1277 DDC-3346 DDC-3531 - proper bi-directional association setup
2015-01-24 14:39:46 +01:00
Marco Pivetta
39a8941d1b
#1277 DDC-3346 DDC-3531 - minor CS fixes/cleanups: avoiding setters
2015-01-24 14:39:46 +01:00
Marco Pivetta
04a271a04e
#1277 DDC-3346 DDC-3531 - refactoring test assets for readability
2015-01-24 14:39:46 +01:00
Marco Pivetta
36bc448880
#1277 DDC-3346 DDC-3531 - refactoring test code for simplicity/readability
2015-01-24 14:39:46 +01:00
Marco Pivetta
16f447d1ac
#1277 DDC-3346 DDC-3531 - correct usage of the model set (setUp/tearDown of model-related tables)
2015-01-24 14:39:46 +01:00
Marco Pivetta
6e3ad496e2
#1277 DDC-3346 DDC-3531 - constants over string references
2015-01-24 14:39:45 +01:00
Marco Pivetta
157bf203bc
#1277 DDC-3346 DDC-3531 - additional tests for LIMIT and OFFSET repository API (must not hydrate collections)
2015-01-24 14:39:45 +01:00
Pavel Batanov
981cebbf4c
Update test according to @Ocramius notes
2015-01-24 14:39:43 +01:00
Pavel Batanov
e36c7b0c2a
DDC-3346 failing test example
2015-01-24 14:39:42 +01:00
Marco Pivetta
28e0da4321
#1272 DDC-2704 - reverting classmetadata API changes (moved all to reflection property getter API)
2015-01-24 14:32:23 +01:00
Marco Pivetta
05a8e1c77d
#1272 DDC-2704 - test assets for the property getter utility tests
2015-01-24 14:30:07 +01:00
Marco Pivetta
1b0a5e38d9
#1272 DDC-2704 - specification for a property getter utility
2015-01-24 14:28:54 +01:00
Marco Pivetta
91f4ed8b92
DDC-2704 - data should be merged only into initialized proxies
2015-01-24 13:22:16 +01:00
Marco Pivetta
21995a8b10
DDC-2704 - more explicit value checking
2015-01-24 13:22:16 +01:00
Marco Pivetta
30dcece125
DDC-2704 - covering code handling class metadata skipping of static properties
2015-01-24 13:22:16 +01:00
Marco Pivetta
3df9b4d122
DDC-2704 - synchronized model classes to new test code
2015-01-24 13:22:16 +01:00
Marco Pivetta
bd667b82d9
DDC-2704 - carefully checking defined classes in getAllReflectionProperties
2015-01-24 13:22:16 +01:00
Marco Pivetta
1e6c071bb8
DDC-2704 - trying to get all reflection properties from a partially initialized class metadata instance will result in a failure
2015-01-24 13:22:15 +01:00
Marco Pivetta
4e08c99b86
DDC-2704 - trying to get all reflection properties from an unitialized class metadata instance will result in a failure
2015-01-24 13:22:15 +01:00
Marco Pivetta
5ae980e0f9
DDC-2704 - reducing test case clutter
2015-01-24 13:22:15 +01:00
Marco Pivetta
302e6218bb
DDC-2704 - renaming test case for clarity
2015-01-24 13:22:15 +01:00
Marco Pivetta
942004226c
DDC-2704 - basic test case verifying that merged transient properties are not handled when in an inheritance
2015-01-24 13:22:15 +01:00
Marco Pivetta
6a1755972d
Revert "Merge branch 'hotfix/#1220-sort-paginator-subquery-output-only-once'"
...
This reverts commit 8f097ab30436412e8a62ead3fefe27c28d5bc905, reversing
changes made to b23a8dd4293a2509d64d8e650d9cccf088cded9f.
Conflicts:
tests/Doctrine/Tests/ORM/Tools/Pagination/LimitSubqueryOutputWalkerTest.php
2015-01-24 13:10:25 +01:00
Austin Morris
c8160fcd0e
Failing test for an ORDER BY that is INNER JOINED in a subquery
2015-01-24 13:07:56 +01:00