1
0
mirror of synced 2024-12-15 07:36:03 +03:00
Commit Graph

44 Commits

Author SHA1 Message Date
Benjamin Eberlei
68436fee75 [DDC-1654] Add support for orphanRemoval on ManyToMany associations. This only makes sense when ManyToMany is used as uni-directional OneToMany association with join table. The join column has a unique constraint on it to enforce this on the DB level, but we dont validate that this actually happens. Foreign Key constraints help prevent issues and notify developers early if they use it wrong. 2012-02-20 10:33:16 +01:00
Fabio B. Silva
5d01123413 Fix DDC-807, DDC-553 2012-02-13 23:22:49 -02:00
jsor
fac820f0e2 Complete custom column option implementation
- Support for xml driver
- Tests
2012-01-27 11:05:47 +01:00
Jan Sorgalla
d68fcd8bd2 Implement custom options on table level 2012-01-26 15:05:26 +01:00
Alan Bem
90725fa529 fixed wrong on-delete XML Schema mapping 2011-09-20 11:10:59 +02:00
Benjamin Eberlei
b83945d486 DDC-1333 - Fix bug in xsd 2011-08-21 15:06:14 +02:00
Benjamin Eberlei
3be6218341 DDC-1208 - Allow namespace separator in <discriminator-mapping /> 2011-06-15 18:31:59 +02:00
Peter Kruithof
05bf8477a3 The columns attribute of the index type was xs:NMTOKENS, therefore not allowing a comma, which is needed when multiple columns need to be specified. (I've checked the XmlDriver code for this)
It should be the same as the `columns` attribute of the `unique-constraints` type, namely `xs:string`.
2011-06-14 02:36:49 -07:00
Miha Vrhovnik
bf0775fbb6 Add extension points into the xml schema 2011-06-03 09:12:32 +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
Benjamin Eberlei
da2dee03e2 [DDC-250] Small typo fix in xsd 2011-02-05 11:43:50 +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
f572be92e2 DDC-546 - Add EXTRALAZY to doctrine-mapping.xsd enumeration of fetch-types. 2011-01-02 12:46:08 +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
988d229c07 Fix XSD Schema 2010-12-21 22:04:13 +01:00
Benjamin Eberlei
c03fc00f45 DDC-936 - Fix target-entity and repository-class to be string rather than xs:NMTOKEN because of the class backslash. 2010-12-15 22:01:16 +01: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
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
Benjamin Eberlei
f2aacf44c8 DDC-628 - Fix missing precision and scale attributes on doctrine-mapping.xsd 2010-06-13 17:21:14 +02:00
Benjamin Eberlei
987fbee758 DDC-537 Add missing sequence-generator tag definition in doctrine-mapping.xsd 2010-05-01 03:33:13 +02:00
Roman S. Borschel
7cc56c45d3 [DDC-193] Fixed. 2010-04-10 00:00:36 +02:00
beberlei
457d832f52 [2.0] DDC-195 - Updated XSD Schema 2010-02-26 22:02:31 +00:00
beberlei
35d795b25f [2.0] DDC-195 - Updated XSD Schema 2010-02-26 21:40:44 +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
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
beberlei
f8df621751 [2.0] DDC-278 - Add missing "columnDefinition" attribute to field tag of XML Schema for Doctrine Mapping. 2010-01-27 18:10:29 +00:00
romanb
ca2faba190 [2.0] Small correction to enforce join-column or join-columns in many-to-one in the XSD. 2010-01-06 17:20:08 +00:00
romanb
674e9beea2 [2.0][DDC-242][DDC-243] Fixed. 2010-01-06 17:18:10 +00:00
romanb
eff87be568 [2.0][DDC-207] Fixed. Also added fetch-type. 2009-12-19 14:06:22 +00:00
romanb
4f64490137 [2.0] Adjusted mapping file. 2009-08-27 13:05:25 +00:00
romanb
26543db47b [2.0] Adjusted mapping file. 2009-08-27 12:55:48 +00:00
romanb
969480f07a [2.0] Adjusted mapping file. 2009-08-27 12:53:58 +00:00
romanb
0ee12c25c2 [2.0] Adjusted mapping file. 2009-08-27 12:52:14 +00:00
romanb
7c5c62f785 [2.0] testing post-commit hook 2009-08-27 09:48:28 +00:00
romanb
8523648a27 [2.0] Fixed lifecycle callback mapping. 2009-08-25 09:14:08 +00:00
jwage
fd89892cc9 [2.0] Updating YAML and XML drivers to be synchronized with Annotations driver. 2009-08-24 21:05:55 +00:00
romanb
b1d34fca1c [2.0] Work on SchemaTool and DBAL. 2009-08-21 18:13:22 +00:00
romanb
e161103e4b [2.0] Added EntityRepositoryTest. Updated build file and XML Schema for mapping files. 2009-08-14 11:04:31 +00:00
romanb
e578bad687 [2.0] Fixed several referential integrity issues. Fixed critical issue with inserts being run twice on postgresql/oracle. Added support for additional tree walkers that modify the AST prior to SQL construction and started to play with it in a testcase. 2009-08-13 10:13:06 +00:00
romanb
28ca2acb8b [2.0] Refined implementation and semantics of the merge and detach operations. General cleanups and API improvements. Added a testcase for detaching/serializing->unserializing->modifying->merging to demonstrate the transparent serialization. 2009-07-25 16:33:29 +00:00
romanb
6e5a5068a6 [2.0] Converted constant values from strings to integers. 2009-06-07 17:20:37 +00:00
romanb
d90e71d002 [2.0] First implementation of XmlDriver + tests. First draft of XSD document. 2009-06-01 16:14:11 +00:00