1
0
mirror of synced 2024-12-14 07:06:04 +03:00
Commit Graph

642 Commits

Author SHA1 Message Date
Benjamin Eberlei
8ea1d3825f DDC-735 - Fix PersistentCollection::remove() and PersistentCollection::removeElement() behaving differently with regards to orphan removal 2010-08-08 17:13:03 +02:00
Benjamin Eberlei
37a1a35b75 Merge branch 'DDC-729' 2010-08-08 16:08:43 +02:00
Benjamin Eberlei
a705b81d9b DDC-729 - Fix issue with merging of collections leading to dereference behaviour after next flush(). Added a test for dereferencing of collections as there was none 2010-08-08 16:07:40 +02:00
Roman S. Borschel
0424d87099 [DDC-386][DDC-675] Fixed. 2010-08-08 15:03:40 +02:00
Benjamin Eberlei
dcebc241b4 DDC-728 - Verified with test that checking for an inherited single valued association works 2010-08-08 14:23:57 +02:00
Roman S. Borschel
3630e06b84 [DDC-522][DDC-419][DDC-383] Fixed. 2010-08-08 12:40:32 +02:00
Benjamin Eberlei
69e9fd3145 DDC-704 - Added better validation of inheritence type constructs in Xml, Annotation and Yaml Drivers 2010-08-08 12:29:14 +02:00
Benjamin Eberlei
251247c16f DDC-633 - Fix Eager ManyToOne or OneToOne relations being replaced by a proxy instead. 2010-08-08 11:05:30 +02:00
Guilherme Blanco
35af98260a [DDC-719] Fixed issue with Empty and also Size function that were generating an incorrect SQL for associations counting. 2010-08-06 13:01:06 -03:00
Roman S. Borschel
69073c4b37 Fixes for merging bidirectional associations where both sides define cascade=merge as well as fixes for handling null values and proxies properly in single-valued associations. 2010-07-30 17:19:50 +02:00
Roman S. Borschel
954a8c3935 Updated tests. 2010-07-30 17:19:50 +02:00
Guilherme Blanco
e69c7c7c60 Merge branch 'DDC-722' 2010-07-30 01:30:40 -03:00
Guilherme Blanco
c1fec32f58 [2.0][DDC-482] Added support to INSTANCE OF in DQL. 2010-07-30 01:30:02 -03:00
Benjamin Eberlei
af59a581f0 Fix DDC440Test to comply with Oracle Identifier-Name Restrictions 2010-07-29 00:10:23 +02:00
Benjamin Eberlei
5bebf13d58 Bugfix in Test Models that made Oracle tests fail for illegal identifier name 2010-07-29 00:02:42 +02:00
Benjamin Eberlei
104dd7aa77 Fix bug in testsuite that makes oci8 testsuite fail 2010-07-28 23:36:52 +02:00
Benjamin Eberlei
d6a1075b53 DDC-644 - Added more tests for Hydrators and unknown to be skipped columns 2010-07-28 22:09:43 +02:00
Benjamin Eberlei
56b3c0e8b0 DDC-644 - Added missing code for the _getScalarRowData() 2010-07-28 21:57:05 +02:00
Benjamin Eberlei
553e93ae27 DDC-644 - Fixed issue with undefined columns in ResultSetMapping by skipping them, added a functional test for modified limit query functionality 2010-07-28 21:50:25 +02:00
Guilherme Blanco
ad115f0ac8 [DDC-698] Fixed wrong SQL generation of m2m with starting path on inverse side. 2010-07-26 01:13:03 -03:00
Guilherme Blanco
5f109c5d6c Merge branch 'DDC-619' 2010-07-23 01:56:38 -03:00
Guilherme Blanco
d50b3c42e2 [DDC-619] Removed support to complex PathExpressions. 2010-07-23 01:55:33 -03:00
Benjamin Eberlei
c2ee1d2439 DDC-697 - QueryBuilder did not support passing parameter types to the setParameter() or setParameters() methods. 2010-07-21 23:16:45 +02:00
Benjamin Eberlei
6007084324 DDC-706 - Fix DriverChain::isTransient() to comply with interface of Driver 2010-07-21 21:20:55 +02:00
Roman S. Borschel
913e58e385 [DDC-167] Implemented. 2010-07-20 14:27:14 +02:00
Guilherme Blanco
2c28872af8 [2.0][DDC-614] Added support to multiple FROM identification variables. Also, fixed bug with missing lock on subselect. 2010-07-20 00:51:01 -03:00
Roman S. Borschel
d86c2f6709 Prepared some more DQL tests. 2010-07-15 15:55:45 +02:00
Roman S. Borschel
e7ac35ed95 [DDC-119] Fixed. 2010-07-15 15:55:45 +02:00
Benjamin Eberlei
722d4a38f4 DDC-130 - fixed a bug in TestCases 2010-07-10 14:04:32 +02:00
Benjamin Eberlei
ede6205204 DDC-130 - Make self-referential relationsships work by deleting both the owning and the inverse pair of keys 2010-07-10 13:35:58 +02:00
Benjamin Eberlei
b0e4d06c40 DDC-130 - Refactored deleteJoinTableRecords() even more, simplified approach disfavouring evil legacy database schemas 2010-07-10 13:12:33 +02:00
Benjamin Eberlei
1794127d51 DDC-130 - Refactored deleteJoinTableRecords() support 2010-07-10 12:04:02 +02:00
beberlei
233b3cd0b9 DDC-130 - Add initial version of deleteJoinTableRecords code on the persisters, flanked by 4 tests. 2010-07-09 22:55:30 +02:00
Roman S. Borschel
aa6edb7903 Added another little contains() after find() test. 2010-07-09 13:18:53 +02:00
Roman S. Borschel
a1c13b58d3 Fixed behavior of PersistentCollection#clear(). Fixed single-valued association path expression support in DQL UpdateItems. 2010-07-08 17:30:39 +02:00
Roman S. Borschel
4212b88edc Fixed DDC-455, DDC-600. Some behavior and API polish in the UoW as well as continued _ prefix removal in some core classes. Cleanups and fixes for one-to-one orphan removal including tests. 2010-07-08 00:20:54 +02:00
Roman S. Borschel
88b0813536 Improved entity state detection. 2010-07-06 11:43:14 +02:00
Benjamin Eberlei
26d8b4dafd Added test to verify DDC-635 is not a problem 2010-07-04 16:19:28 +02:00
Benjamin Eberlei
552865a867 DDC-649 - Remove IN queries for empty discriminator values if abstract base class is not part of the discriminator map 2010-07-04 13:34:41 +02:00
Benjamin Eberlei
fdf1f1b29e Fix testsuite by re-ordering how tests are executed, added debug capabilities for SQL Global State problems using SQL Comments when DOCTRINE_MARK_SQL_LOGS phpunit configuration variable isset 2010-07-04 13:34:40 +02:00
Benjamin Eberlei
d922631efe DDC-649 - Refactoring Single Table Inheritance Tests 2010-07-04 12:17:15 +02:00
beberlei
b56e1e31af DDC656 - Fix bug with order of fields when recomputeSingleEntityChangeSet() is called after lifecycle events are invoked 2010-07-04 08:54:57 +02:00
Benjamin Eberlei
fbaa4e3215 DDC-555 - Fixed toggling of collections when using Collection::clear() in a PersistentCollection context 2010-07-03 16:55:56 +02:00
Benjamin Eberlei
6479fcec68 DDC-501 - Cleanup Ticket Test file a little bit 2010-07-01 23:58:46 +02:00
beberlei
f7e8109d07 DDC-501 - Cascade Merging unitialized Persistent Collections leads to weird behaviour 2010-07-01 23:48:44 +02:00
beberlei
6ba4fa002b DDC-660 - Fix notIn() not quoting passed literals correctly. 2010-07-01 21:42:38 +02:00
Benjamin Eberlei
c1091485b0 DDC-618 - Bugfix INDEX BY was not yet implemented in SqlWalker 2010-06-29 00:06:19 +02:00
Christian Heinrich
321fc2506d Fixed #DDC-647
Added missing length element

DBAL-647 - Added test to check for length of string type in all mapping drivers
2010-06-28 23:05:49 +02:00
Benjamin Eberlei
cd978fb8c9 DDC-616 Made Database Reverse Engineering a Two-Step Approach, first collect details on all tables once and try to detect which tables are many-to-many tables. Then build metadata from this information. This allows to support even many-to-many tables in reverse engineering correctly 2010-06-20 19:34:09 +02:00
Benjamin Eberlei
51e6681934 DDC-646 - Bugfix with missing inclusion of Namespace, added test for ConvertDoctrine1SchemaCommand 2010-06-20 00:28:20 +02:00