1
0
mirror of synced 2025-01-18 14:31:40 +03:00

3360 Commits

Author SHA1 Message Date
Benjamin Morel
517cb7e2a2 Honor convertToDatabaseValueSQL() in DQL query parameters 2015-03-18 00:24:41 +01:00
Marco Pivetta
a3f9f153dd Merge pull request #1321 from vvh-empora/master
embeddedClasses support...
2015-03-10 21:53:05 +01:00
Marco Pivetta
73d4d88ba1 Merge pull request #1326 from guiwoda/orphan-removal-association-builder
Allow AssociationBuilder to set a relation as orphan removal
2015-03-09 23:18:59 +01:00
Guido Contreras Woda
71821bb7a3 Allow AssociationBuilder to set a relation as orphan removal 2015-03-09 18:54:35 -03:00
Volker von Hoesslin
0824c6136d unittest DDC3597: fix for PHP 5.4 2015-03-04 11:55:08 +01:00
Volker von Hoesslin
2aef87c9b2 add unittest for DDC3597 2015-03-03 16:59:48 +01:00
Guilherme Blanco
6e40361fe7 Merge pull request #1311 from jankramer/DDC-3582-nested-embeddable-hydration
[DDC-3582] Wrong class is instantiated when using nested embeddables
2015-02-27 10:31:58 -05:00
Jan Kramer
c059de9e60 Implement test to show nested embeddables are not instantiated properly 2015-02-27 15:09:22 +01:00
Marco Pivetta
a41e774bb1 Merge pull request #1314 from FabioBatSilva/date-add-second
DATE_ADD - Support for seconds
2015-02-26 10:20:52 +00:00
FabioBatSilva
57bcd7cd3d DATE_ADD - Support for seconds 2015-02-25 14:32:51 -05:00
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
5795d53ca7 remove temporary database dependencies from Travis build 2015-01-27 09:44:06 +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