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

918 Commits

Author SHA1 Message Date
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
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
01ffa2dc9e DDC-573 - Implement resetDQLPart() and resetDQLParts() methods on QueryBuilder. 2010-09-23 22:32:23 +02:00
Benjamin Eberlei
6390653df7 Merge branch 'DDC-671' 2010-09-22 00:19:37 +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
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
steffkes
9fa8ff86f8 show given path for MappingException::fileMappingDriversRequireConfiguredDirectoryPath 2010-09-17 11:54:31 -05: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
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
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
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
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
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
Benjamin Eberlei
241e4d2f53 DDC-737 - Implemented slice() on PersistentCollection for fowards compatibility reasons. The method will be required on Collection interface with the next Doctrine\Common release 2010-08-24 21:56:29 +02:00
Roman S. Borschel
d0717ee458 Fixed typo and simplified method as mentioned in an earlier comment. 2010-08-24 17:17:58 +02:00
Sébastien HOUZE
4a9f36800e Symfony/Components renamed into Symfony/Component 2010-08-23 12:39:30 -05:00
Benjamin Eberlei
2f00db08e1 Merge branch 'master' of github.com:doctrine/doctrine2 2010-08-15 20:16:28 +02:00
Benjamin Eberlei
6f4f8f8cb1 DDC-742 - Fix issue with collections that are set to fetch=EAGER not being initialized with takeSnapshot() correctly 2010-08-15 19:51:06 +02:00
Roman S. Borschel
d56d118458 Fixed field access. 2010-08-14 19:10:28 +02:00
Guilherme Blanco
5719f8523b [DDC-577] Updated allocationSize to 1 based on discussion on DDC-569. 2010-08-12 01:07:48 -03:00
Guilherme Blanco
496a34a4d2 [DDC-581] Implemented support to SingleValuedPathExpression to InExpression. 2010-08-12 00:16:07 -03:00
Guilherme Blanco
c3064336ab Merge branch 'master' of github.com:doctrine/doctrine2 2010-08-11 23:13:03 -03:00
Guilherme Blanco
84b9eda17c [DDC-680] Implemented support to complex mathematical expression in subselect part aswell as improved support of comparison expressions. 2010-08-11 23:12:44 -03:00
Benjamin Eberlei
98785122d3 DDC-562 - Finally able to generate Unique Constraint on @OneToOne foreign keys 2010-08-10 22:07:43 +02:00
Roman S. Borschel
ca1931de81 More association mapping doc-block updates. 2010-08-09 23:23:30 +02:00
Roman S. Borschel
575858774d Updated API doc for association mappings. 2010-08-09 23:13:34 +02:00
Roman S. Borschel
dd7be5b13a Improving API and docblocks. Removing superfluous tests. 2010-08-09 22:48:07 +02:00
Roman S. Borschel
4826739824 Simplified ClassMetadata lookup in UnitOfWork and added docblock. 2010-08-09 22:48:07 +02:00
Roman S. Borschel
5178f4b7d6 Corrected TO_ONE check just to be sure. 2010-08-09 22:48:07 +02:00
Roman S. Borschel
8d3e0e61ea Moved association mappings to plain arrays, just like field mappings. 2010-08-09 22:48:07 +02:00
Benjamin Eberlei
da809fdeda DDC-735 - Forward compatible fix for ArrayCollection::removeElement() returning the element instead of true 2010-08-09 21:26:10 +02:00
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
21753c71c9 DDC-651 - Fix short name being used instead of long-name in extends section of EntityGenerator 2010-08-08 16:43:52 +02:00
Benjamin Eberlei
ea954e8123 DDC-703 - Fixed change tracking not passed to child classes in inheritance hierachy 2010-08-08 16:15:35 +02:00
Benjamin Eberlei
37a1a35b75 Merge branch 'DDC-729' 2010-08-08 16:08:43 +02:00