1
0
mirror of synced 2024-12-13 22:56:04 +03:00
Commit Graph

4912 Commits

Author SHA1 Message Date
Benjamin Eberlei
b05e1ad7ad Fix typo in last patch 2010-10-01 21:05:54 +02:00
Benjamin Eberlei
638c3df3a6 DDC-822 - Fix making queries with detached entities 2010-09-30 21:59:01 +02:00
Benjamin Eberlei
de236e0456 DDC-784 - Implement doctrine CLI for Windows and refactor CLI stuff in general 2010-09-30 20:57:14 +02:00
Benjamin Eberlei
3ad429a5aa Fix bug in OrmFunctionalTestCase in combination with vendors that dont deferr foreign key checks (like MySQL) 2010-09-28 22:36:26 +02: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
84bd843eed Merge branch 'DDC-817' 2010-09-27 22:38:07 +02:00
Benjamin Eberlei
140ddf5098 DDC-817 - Add possibility to query by owning side association join column ids and tests for plain entities, single- and joined table inheritance 2010-09-27 22:31:18 +02:00
Benjamin Eberlei
d2630ff54e DDC-819 - Fix bug with invalid parameter exception because of using isset instead of array_key_exists() 2010-09-27 21:03:12 +02:00
beberlei
039293c27a DDC-816 - Fix output of warning message in update and drop schema-tool commands 2010-09-25 12:12:19 +02:00
Benjamin Eberlei
8f80c94923 DDC-514 - Implemented default for discriminator column 2010-09-23 23:10:31 +02:00
Benjamin Eberlei
8b766b6c92 Merge branch 'DDC-573' 2010-09-23 22:32:37 +02:00
Benjamin Eberlei
01ffa2dc9e DDC-573 - Implement resetDQLPart() and resetDQLParts() methods on QueryBuilder. 2010-09-23 22:32:23 +02:00
Benjamin Eberlei
75e5c40a50 DDC-742 - More tests on the issue about possible caching problem, could not verify however 2010-09-22 23:01:08 +02:00
Benjamin Eberlei
6390653df7 Merge branch 'DDC-671' 2010-09-22 00:19:37 +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
Benjamin Eberlei
7dc8ef1db9 Fix DDC-671 - The sourceEntity field has to be corrected to the subclass name when copied from a mapped superclass. Otherwise DQL queries will be wrong, generating wrong table aliases. 2010-09-21 23:14:45 +02:00
Benjamin Eberlei
62a8e2aad5 Enhance Schema-Tool commands by being more aggresive on warning the user that these commands do stuff that can be potentially dangerous to the database (and its contents). 2010-09-21 22:08:29 +02:00
Benjamin Eberlei
6d20d7d5ed Merge branch 'DDC-809' 2010-09-21 00:32:57 +02:00
Benjamin Eberlei
c70f32f4c9 DDC-809 - Fix nasty issue in ObjectHydrator yielding Many-To-Many hydration problems with multi-valued collections that are join-fetched. 2010-09-21 00:32:07 +02:00
Benjamin Eberlei
72f65c3665 Some changes to the TestCase 2010-09-20 19:23:41 +02:00
steffkes
25f5ab6557 add inverseBy-Attribute to User-Entity to get valide schema 2010-09-17 11:55:00 -05:00
steffkes
9fa8ff86f8 show given path for MappingException::fileMappingDriversRequireConfiguredDirectoryPath 2010-09-17 11:54:31 -05:00
Benjamin Eberlei
8a92bf075b DDC-671 - Fetch YamlMappingDriverTest from Shurakais remote branch 2010-09-16 22:27:04 +02:00
Benjamin Eberlei
d3419780f9 DDC-727 - Test shows expected behavior, no failure 2010-09-15 22:24:17 +02:00
Benjamin Eberlei
810a129a32 DDC-767 - Add testcase that shows described behavior works and not produces notices. 2010-09-15 22:11:09 +02:00
Benjamin Eberlei
97e572e2d8 DDC-806 - Fix xsd schema not allowing entities without id (in inheritance hierachies) 2010-09-15 21:51:44 +02:00
Guilherme Blanco
2e3c1506fb [DDC-792] Fixed issue with run-dql when using max result was triggering undefined method error. 2010-09-15 14:29:55 -03:00
Guilherme Blanco
4845745337 [DDC-802] Fixed wrong variable reference in XML exporter. 2010-09-15 14:16:53 -03:00
Benjamin Eberlei
da63bad9c8 DDC-762 - Fixed notice when mapping foreign keys to field having null values 2010-09-13 21:48:25 +02:00
Benjamin Eberlei
ee9158ffb4 DDC-749 - Refactor Query tests, add a test for setParameters() 2010-09-12 22:44:02 +02:00
Benjamin Eberlei
4727489134 DDC-761 - Fix join columns not using the same lengh, precision and scale for string and decimal types. 2010-09-12 22:34:32 +02:00
Benjamin Eberlei
13da816f4e DDC-748 - Fix bug in EntityManager::refresh() when entity has an owning side many-to-one bi-directional association 2010-09-12 21:41:22 +02:00
Benjamin Eberlei
24c6bb3f46 Fix errors in EntityRepository docblocks 2010-09-04 12:18:02 +02:00
Roman S. Borschel
f415fa7174 Bumping dev. version. 2010-09-01 20:57:12 +02:00
Roman S. Borschel
20af9d6d9f Bumping DBAL dependency to BETA4. 2010-09-01 20:47:01 +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
Benjamin Eberlei
7ff9976b3c Made using schema-tool:drop and schema-tool:update more secure by requiring the user to confirm the operation with another flag --force. 2010-08-31 23:42:27 +02:00
Benjamin Eberlei
803e338365 DDC-684 - Fix flaw in build process. ORM not overwriting DBAL and Common dirs now, instead PEAR packages depend on it now, full package is generated for downloading. 2010-08-30 23:35:54 +02:00
Benjamin Eberlei
0b5c694a7e DDC-778 - Fix AbstractQuery::__clone implementation that was wrongly implemented in DDC-770. Added more tests. 2010-08-30 20:30:11 +02:00
beberlei
0904bc5cc5 DDC-762 - Added test for NULL association finding in OneToOne relations 2010-08-29 11:19:23 +02:00
beberlei
33d0bb454b DDC-752 - Moved verify inheritance block behind the loadMetadata event 2010-08-28 16:41:18 +02:00
beberlei
c77a12ac83 DDC-770 - Refactored EntityGenerator Bugfix NOT to generate a use statement. Simplifies code and circumvents further problems (like importing a class from the namespace we are in) 2010-08-28 16:29:08 +02:00
beberlei
2a2936fde5 DDC-771 - Bugfix in EntityGenerator generated use statement 2010-08-28 14:54:31 +02:00
Benjamin Eberlei
43f8398fbb DDC-770 - Commit missing changes to XmlDriver and YamlDriver 2010-08-27 22:21:18 +02:00
Benjamin Eberlei
187d9289ad Merge branch 'DDC-752' 2010-08-27 22:15:19 +02:00
Benjamin Eberlei
d115f7af4f DDC-752 - Postpone Inheritance Related Metadata Validation into CMF 2010-08-27 22:14:48 +02:00
Benjamin Eberlei
797d9f1be5 Merge branch 'master' of github.com:doctrine/doctrine2 2010-08-27 21:28:46 +02:00
Benjamin Eberlei
8a21ab4755 DDC-770 - Cleanup Query instance when its cloned 2010-08-27 21:28:26 +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