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

63 Commits

Author SHA1 Message Date
Michael Ridgway
9ae30421dd Removed onUpdate property on join columns 2011-06-28 15:50:14 -04:00
Benjamin Eberlei
d17d0f5452 DDC-1192 - Fix notice in XmlDriver, removed unnecessary code. 2011-06-05 14:49:54 +02:00
Benjamin Eberlei
34ad308599 [DDC-692] Add respective metadata mapping possiblities for read-only entities and a test. 2011-03-29 20:17:44 +02:00
Guilherme Blanco
a31289b9d7 Added support to NamedQueries through ClassMetadata. 2011-03-06 18:45:09 -03:00
Jonathan H. Wage
839b6dd5e4 Revert "Removing old Driver interface in favor of the new one in Common\Persistence. Also changed to use fully qualified class name for interfaces in common to avoid weird aliases."
This reverts commit c988a99d55.
2011-02-16 10:24:42 -06:00
Jonathan H. Wage
c988a99d55 Removing old Driver interface in favor of the new one in Common\Persistence. Also changed to use fully qualified class name for interfaces in common to avoid weird aliases. 2011-02-16 10:06:39 -06:00
Benjamin Eberlei
17c1ed948e [DDC-250] Initial untested support for @ManyToMany(indexBy) and @OneToMany(indexBy) option. 2011-02-05 09:31:40 +01:00
Benjamin Eberlei
2a005019bf DDC-117 - Add XML and YML Driver support for associated identifier. 2011-01-01 21:47:04 +01:00
Benjamin Eberlei
8f80c94923 DDC-514 - Implemented default for discriminator column 2010-09-23 23:10:31 +02:00
Benjamin Eberlei
43f8398fbb DDC-770 - Commit missing changes to XmlDriver and YamlDriver 2010-08-27 22:21:18 +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
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
bd28cb1b12 DDC-645 - Demoted <change-tracking-policy /> to an attribute on <entity /> to allow better validation, fixed XSD schema 2010-08-08 11:32:12 +02:00
Christian Heinrich
fc7224f73e Merge branch 'master' of http://github.com/doctrine/doctrine2 2010-06-22 13:53:14 +02:00
Benjamin Eberlei
7018509126 Fix a bug with Table Indexes on XML Driver. Added tests for setting indexes on tables for all the mapping drivers 2010-06-13 22:59:56 +02:00
Christian Heinrich
3fc9971e98 Merge commit 'upstream/master'
Conflicts:
	lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php
2010-05-20 14:17:39 +02:00
Roman S. Borschel
f9b53c6b5c Fixed #DDC-580
Conflicts:

	lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php
2010-05-11 00:03:09 +02:00
Christian Heinrich
b63afb6ce4 Fixed #DDC-580 2010-05-10 16:41:42 +02:00
Roman S. Borschel
59d4e0c8e7 [DDC-481] Fixed. 2010-05-08 17:01:20 +02:00
Benjamin Eberlei
6c7aaa727c Added tests for 41e830ca68, thereby finding two issues with XML and YAML Driver handling of Sequence-Generator 2010-05-01 03:28:18 +02:00
Benjamin Eberlei
9cee8bf890 Merge remote branch 'dc2master/master' 2010-05-01 03:12:27 +02:00
Jonathan H. Wage
41e830ca68 Fixing sequence-generate in XmlDriver 2010-04-29 08:13:02 -04:00
Benjamin Eberlei
f38584a51e DDC-545 - Add unittest for all drivers uniqueConstraint capabilities, fix bug in XML Driver that disallowed using them 2010-04-28 20:27:53 +02:00
Roman S. Borschel
7cc56c45d3 [DDC-193] Fixed. 2010-04-10 00:00:36 +02:00
romanb
354ede1e04 [2.0][DDC-354][DDC-425] Fixed. Encapsulated SQL logging better in the DBAL. Added binding types to DBAL mapping types as well as using these binding types in the persisters. Query and NativeQuery now support PDO binding types as well as DBAL mapping types when binding parameters. 2010-03-29 13:20:41 +00:00
beberlei
6b86c97f0a [2.0] DDC-457 - Fix invalid reference to MappingException in Xml and Yml Drivers 2010-03-26 18:29:20 +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
beberlei
bbda52a448 [2.0] DDC-376 - Fix in XML Mapping Driver 'inheritance-type' attribute. 2010-02-25 21:16:05 +00:00
beberlei
cbd8133308 [2.0] DDC-367 - Fixed Bug with <discriminator-map /> XML Driver Parsing 2010-02-24 19:31:53 +00:00
beberlei
ab3a6cc16e [2.0] DDC-336 - Support specification of an OrderBy SQL snippet in OneToMany and ManyToMany Associations in Annotation, XML and YAML Drivers 2010-02-14 19:38:22 +00:00
romanb
4adc289596 [2.0][DDC-284] Fixed. API polish and some convention over configuration simplifications for join columns and join tables. 2010-02-09 17:13:49 +00:00
beberlei
703ba989be [2.0] DDC-268 - Exchanged DoctrineException for MappingException and added missing exception method (thanks to Christian Heinrich for the patch) 2010-02-02 21:17:00 +00:00
beberlei
ee9aa005b2 [2.0] DDC-271 - Add columnDefinition for Join-Column in Annotation, XML and YAML driver, updated SchemaTool to use Join Column definition instead of using the column's columnDefinition if specified. Refactored MappingDriverTest to allow for feature specific test-cases instead of one large assertion block. Fixed typos in XmlDriver - Updated doctrine-mapping.xsd Schema File 2010-02-01 21:48:27 +00:00
guilhermeblanco
443a20569b [2.0][DDC-281] Fixes for Mapping drivers 2010-01-28 19:38:16 +00:00
guilhermeblanco
14ec40e1e6 [2.0][DDC-281] Fixed several issues with mapping drivers and loading of mapping files. 2010-01-28 12:46:12 +00:00
beberlei
a652bc69b3 [2.0] DDC-247 - Fix bug with nullable not working in XML field and join-column properties. 2010-01-27 23:00:55 +00:00
romanb
4bec3e2c49 [2.0][DDC-263] Fixed. Patch provided by Christian Heinrich. 2010-01-22 15:10:13 +00:00
beberlei
9cd0379f53 [2.0] DDC-200 Implemented support for @columnDefinition - even with support to pass the definition to join columns if necessary for relations. 2010-01-20 22:35:18 +00:00
romanb
674e9beea2 [2.0][DDC-242][DDC-243] Fixed. 2010-01-06 17:18:10 +00:00
guilhermeblanco
9ad13c4730 [2.0][DDC-236] Enhanced unique constraints to support names. Fixed general issues on XML and YAML exporters. Fixed issues on XML, YAML, Doctrine 1.X and Annotation drivers. 2010-01-06 13:23:56 +00:00
beberlei
e6a10d36d9 [2.0] Added missing Import of MappingException in XmlDriver 2009-12-12 09:44:36 +00:00
beberlei
4938228234 [2.0] DDC-206 - Bugfix in XML Metadata Driver 2009-12-12 08:27:24 +00:00
romanb
32e608e5e2 [2.0][DDC-159] Fixed. 2009-11-19 17:35:14 +00:00
romanb
7ec25f196a [2.0] Added missing recognition of the 'fetch' attribute in metadata drivers. 2009-10-12 12:54:14 +00:00
jwage
c8362da494 [2.0] Added functionality to convert a Doctrine 1 schema to Doctrine 2 to help users with upgrading. Lots of other small bug fixes and changes. 2009-10-06 22:38:34 +00:00
jwage
d1b2f93acb [2.0] Splitting ClassMetadata in to ClassMetadataInfo and other bug fixes 2009-10-05 04:11:29 +00:00
jwage
e6131d11ac [2.0] More work on ClassmetadataExporter and ConvertMappingTask for converting mapping information between various formats 2009-09-30 04:35:43 +00:00
romanb
8c5887d05d [2.0][DDC-5] Fixed. 2009-09-19 12:17:01 +00:00
guilhermeblanco
7ef91a6449 [2.0] Some work over SchemaTool update of schema (affects directly the CLI schema-tool task on --update option. 2009-09-12 23:25:47 +00:00
jwage
79393daf25 [2.0] Casting options as an array 2009-09-08 20:58:11 +00:00