Andrey Knupp Vital
c964dd0cd2
Adding use-column-prefix
attribute as proposed (DDC-3293) #1239
2015-01-08 00:09:30 -02:00
Adrien Crivelli
27adf8d6e9
Refactor partial into options array
...
This coherent with what is done for Table. All platform specific things
are grouped into an options array. Eventually flags should be migrated
into options as well.
2014-07-22 10:32:31 +09:00
Adrien Crivelli
eeb7ff4a6d
Support for Partial Indexes for PostgreSql and Sqlite
...
Support for Partial Indexes was available in Doctrine 1 following
http://www.doctrine-project.org/jira/browse/DC-82 . This commit
reintroduce support for Doctrine 2. We use the same syntax with an
optionnal "where" attribute for Index and UniqueConstraint.
2014-07-22 10:32:30 +09:00
Stefano Torresi
391847d627
remove on-update from join-column
2014-06-19 14:27:56 +02:00
Adrian Olek
cc2fb1a070
Added index flags support in annotation, xml & yaml mapping drivers.
2014-04-14 01:21:23 +02:00
Johannes Schmitt
4f585a3d63
Merge branch 'master' of github.com:doctrine/doctrine2 into ValueObjects
...
Conflicts:
UPGRADE.md
lib/Doctrine/ORM/Mapping/Driver/DoctrineAnnotations.php
2014-01-04 17:52:32 +01:00
Benjamin Eberlei
2feffe164a
Merge branch 'DDC-2732'
2014-01-02 23:33:56 +01:00
fabios
1bfa8f0fc3
Extract cache config
2013-12-16 11:05:04 -05:00
Fabio B. Silva
3140593e9b
Second level cache
2013-12-16 11:05:04 -05:00
Jan Kramer
928c32d616
Update XML schema to reflect addition of embeddables
2013-12-07 16:38:32 +01:00
Eduardo
333177da00
Options not respected for ID Fields in XML Mapping Driver (XSD update)
...
XSD update.
The same bug of the yaml driver: see http://www.doctrine-project.org/jira/browse/DDC-2661
2013-10-09 23:49:39 +02:00
Fabio B. Silva
b147c472be
[DDC-2429] Fix xsd definition
2013-05-13 11:04:36 -03:00
Benjamin Eberlei
9adc45767d
[DDC-2426] Missing length attribute in doctrine-mapping.xsd for <id> tag.
2013-05-04 12:58:06 +02:00
Fabio B. Silva
c60e3e4ba4
remove @LifecycleCallback
2013-01-29 12:14:52 -02:00
Fabio B. Silva
195b639344
change xml driver to use <lifecycle-callback\>
2013-01-29 12:14:52 -02:00
Fabio B. Silva
46474bf457
added doctrine-mapping.xsd
2013-01-29 12:14:52 -02:00
Fabio B. Silva
85790f0752
support for attribute override
2012-04-21 01:43:18 -03:00
Fabio B. Silva
2f67750165
added tags on doctrine-mapping.xsd
2012-04-21 01:41:05 -03:00
Fabio B. Silva
ad9d590a15
added tags on doctrine-mapping.xsd
2012-04-15 15:40:43 -03:00
Benjamin Eberlei
18e63f9cea
Merge branch 'DDC-1723'
2012-03-22 22:30:35 +01:00
Benjamin Eberlei
bc4cf21c9d
Merge velovint/SupportCustomIdGenerators
2012-03-22 22:29:15 +01:00
Attila Bukor
7f3e90e291
Fixed fetch mapping in xsd
...
It was 'EXTRALAZY' and the constant name in ClassMetadata is 'EXTRA_LAZY'
2012-03-16 17:00:12 +01:00
Benjamin Eberlei
23d004844a
[DDC-451] Adjust doctrine-mapping.xsd for new UUID generator
2012-03-12 12:52:36 +01:00
Vitali Yakavenka
78d3f647ff
Merge branch 'master' of git://github.com/doctrine/doctrine2 into SupportCustomIdGenerators
2012-02-21 09:45:16 +03:00
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
Vitali Yakavenka
53ecedf70a
Remove support to pass arguments to custom ID generator's constructor
2012-01-08 15:20:35 +03:00
Vitali Yakavenka
353ba4dfd1
Remove trailing whitespaces and fix brace locations
2011-11-30 00:20:00 +03:00
Vitali Yakavenka
b72d150d33
Rename custom-generator to custom-id-generator in XML mappint to match name in other mapping types
2011-11-28 23:36:23 +03:00
Vitali Yakavenka
2b97f79bd3
Add support for custom ID generator in XML
2011-11-28 23:30:32 +03: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