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

119 Commits

Author SHA1 Message Date
Alexander
91bc9c0329 Adjusted test to verify that findBy*(null) is now supported 2011-10-17 18:56:06 +02:00
Benjamin Eberlei
22a04fd6de Merge dominikl/DDC-1278 into doctrine/DDC-1278 2011-10-16 22:41:16 +02:00
Guilherme Blanco
f86e1ba66c Added tests for DDC-1389. Everything is working in 2.2-DEV. 2011-10-15 00:18:57 -03:00
Guilherme Blanco
3bb803fd69 Cherry picked FabioBatSilva upgrade of Common lib. 2011-09-13 00:59:24 -03:00
Fabio B. Silva
3707b34cbb Change repository type for EntityRepository 2011-09-08 17:21:06 -03:00
Fabio B. Silva
43ccd9ead6 tests for DDC-753 2011-09-08 15:54:49 -03:00
Fabio B. Silva
19d0887bb0 check if parent class is a mapped superclass 2011-09-08 13:41:16 -03:00
Fabio B. Silva
7f0275155d php mapping 2011-09-08 13:17:53 -03:00
Fabio B. Silva
6a89de51e5 change tests 2011-09-08 12:55:55 -03:00
Fabio B. Silva
b2d98495b1 mapping files 2011-09-07 18:29:43 -03:00
Guilherme Blanco
bd5393a318 Added coverage for orphanRemoval in OneToOne when unlinking an entity. 2011-09-07 13:12:02 -03:00
Guilherme Blanco
2cfc61db84 Fixed bug with orphanRemoval not removing associated Entity on OneToMany and OneToOne relationships. As defined in ClassMatedataInfo, in these situations, when orphanRemoval=true, cascade=remove is implicit. This fixes DDC-1321. 2011-09-06 01:58:16 -03:00
Guilherme Blanco
e7f471ef3e Fixed issue with CTI during DQL update that was incorrectly setting parameter types during multi table execution. Fixes DDC-1341. 2011-08-28 13:48:15 -03:00
Dominik Liebler
6e47d7b16d DDC-1278 - EntityManager::clear($entity) support
added test case and modified test data CmsUser to cascade detach address and articles (testing collections and single entites)
2011-08-14 16:12:12 +02:00
Benjamin Eberlei
d583b149ac Merge pull request #98 from asm89/master
[DDC-1301] Fixed tests teardown for mysql suite
2011-07-31 02:41:19 -07:00
Alexander
953a0f6572 [DDC-1301] Fixed tests teardown for mysql suite 2011-07-29 09:35:59 +02:00
Benjamin Eberlei
c34612b8e9 [DDC-1298] DDC117Link file got lost from 2.1.x to master somehow 2011-07-28 23:44:11 +02:00
Benjamin Eberlei
5c47c07794 Merge pull request #97 from asm89/DDC-1301
[DDC-1301] Fixed count() for fetch="EXTRA_LAZY" on OneToMany association
2011-07-28 14:26:15 -07:00
Alexander
d439f67df5 [DDC-1301] Prefixed all Legacy models properties with _ 2011-07-28 12:25:23 +02:00
Alexander
b2951691e2 [DDC-1301] Added tests for fetch="EXTRA_LAZY" count() on a "legacy" database 2011-07-28 11:01:28 +02:00
Benjamin Eberlei
196632978c DDC-1298 - Fix bug in SQLWalker with derived entities that have no fields of their own. 2011-07-27 23:22:20 +02:00
Benjamin Eberlei
c261315ea7 DDC-1250 - Fix bug with inverse one to one loading and ambigious column names in certain scenarios 2011-07-09 22:11:49 +02:00
Benjamin Eberlei
2b207106a3 DDC-1022 - Call __wakeup() with the same semantics then ClassMetadata::newInstance() does inside UnitOfWork 2011-07-09 12:12:44 +02:00
Guilherme Blanco
7d1fca1ca2 Added support to NamedQueries through ClassMetadata. 2011-03-09 14:43:42 -03:00
Guilherme Blanco
a31289b9d7 Added support to NamedQueries through ClassMetadata. 2011-03-06 18:45:09 -03:00
Benjamin Eberlei
c144df9be3 DDC-1033 - Fix cloning of not initialized proxies. 2011-02-26 12:47:59 +01:00
Benjamin Eberlei
9768d08458 [DDC-250] Add tests and fix some glitches and finalized index-by patch. 2011-02-05 11:42:10 +01:00
Benjamin Eberlei
194a90923d DDC-117 - Finalize patch, fix all the problems of different use-cases by hugely expanding the test-model. 2011-01-01 18:17:19 +01:00
Benjamin Eberlei
e142bd1f30 Merge and modify juokazs Sqlsrv changes 2010-11-18 23:14:07 +01:00
Benjamin Eberlei
97b80d69f1 Fix several test-issues after upgrading dependencies and a Bug in a SchemaTool and DatabaseDriver 2010-11-18 23:07:32 +01:00
Juozas Kaziukenas
831b40e093 Fixes required for Microsoft SQL tests 2010-11-17 13:18:18 -08:00
Benjamin Eberlei
394469d4b7 DDC-525 - Single Table Inheritance fields of child entities ALWAYS have to be nullable, Schema-Tool now enforces this. 2010-09-27 23:22:52 +02:00
Benjamin Eberlei
13047aa12e Fixed Mappedsuperclass Functional Test to work with new modelset and verify that relevant features work 2010-09-22 00:15:45 +02:00
Benjamin Eberlei
39f732ab91 Refactored DDC-671 model to become a first-class modelset, we dont have one with mapped superclass yet. 2010-09-21 23:53:26 +02:00
Roman S. Borschel
207d624f5f Bumped Common dependency to RC1, fixing related issues in the test suite. 2010-09-01 20:43:23 +02:00
Roman S. Borschel
506973a92e [DDC-757] Fixed. Also fixed some failing postgres tests due to changes to the default allocation size for sequences. 2010-08-26 13:47:37 +02: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
Benjamin Eberlei
5bebf13d58 Bugfix in Test Models that made Oracle tests fail for illegal identifier name 2010-07-29 00:02:42 +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
Benjamin Eberlei
d922631efe DDC-649 - Refactoring Single Table Inheritance Tests 2010-07-04 12:17:15 +02:00
beberlei
f7e8109d07 DDC-501 - Cascade Merging unitialized Persistent Collections leads to weird behaviour 2010-07-01 23:48:44 +02:00
Benjamin Eberlei
8639735e91 Adding more Tests for DateTime, Date and Time type handling, related to DBAL-22. Failures in Oracle Time Type handling have to fixed in DBAL package. 2010-06-14 23:46:04 +02:00
Benjamin Eberlei
64b57bbcfb Merge upstream into lock-support branch 2010-05-15 09:41:32 +02:00
Christian Heinrich
f2213c4d00 Fixed #DDC-578
Also added a new testcase
2010-05-11 11:19:38 +02:00
Benjamin Eberlei
f65a555d04 Merge Upstream into Locking-Branch 2010-05-02 13:02:44 +02:00
Roman S. Borschel
01c2c06bbf [DDC-512] Fixed. 2010-04-15 18:36:17 +02:00
Benjamin Eberlei
dfbd9e6e2f DDC-178 - Add additional tests for Locking Support 2010-04-11 16:43:33 +02:00
Roman S. Borschel
7cc56c45d3 [DDC-193] Fixed. 2010-04-10 00:00:36 +02:00
beberlei
95994f7a44 [2.0] DDC-341 - Added Composite Model-Set and 3 tests, fixed two bugs in SqlWalker with Composite Key support 2010-04-02 21:37:15 +00:00
beberlei
eb00a3b817 [2.0] DDC-195 - Refactored Mapping Syntax again to be arrays in all annotations, xml and yaml drivers instead of parsing the fields in the AssociationMapping implementations. 2010-02-26 21:26:06 +00:00