1
0
mirror of synced 2025-02-08 16:29:28 +03:00
Menno Holtkamp 85a16f9f28 Ensure <cascade/> elements preceed <join-columns/>
When converting annotations based metadata to XML, the position of the <cascade/> elements resulted in XSD validation errors caused by the definitions of the association ComplexTypes:
- https://github.com/doctrine/doctrine2/blob/master/doctrine-mapping.xsd#L463
- https://github.com/doctrine/doctrine2/blob/master/doctrine-mapping.xsd#L482
- https://github.com/doctrine/doctrine2/blob/master/doctrine-mapping.xsd#L495
- https://github.com/doctrine/doctrine2/blob/master/doctrine-mapping.xsd#L517

Since changing the XSD might result in validation problems in existing mappings, changing the XmlExporter seems a better approach.

Note that the '<cache/>' element is not yet generated by the XmlExporter, but according to the XML Schema, it should precede the '<cascade/>' element.
2014-01-05 15:34:59 +01:00
2013-12-16 11:05:05 -05:00
2013-06-27 20:18:21 -04:00
2013-03-07 14:12:10 +01:00
2013-12-16 11:05:04 -05:00
2013-09-07 12:56:49 +02:00
2013-09-07 12:56:49 +02:00
2013-12-14 11:29:07 +01:00
2014-01-02 23:33:56 +01:00
2012-05-26 14:37:00 +02:00
2013-03-11 00:08:58 +00:00
2013-11-12 13:37:20 +01:00
2013-03-11 00:08:58 +00:00
2013-11-17 12:06:47 +01:00

Doctrine 2 ORM

Master: Build Status 2.4: Build Status 2.3: Build Status 2.2: Build Status 2.1: Build Status

Master: Coverage Status

Latest Stable Version Total Downloads

Doctrine 2 is an object-relational mapper (ORM) for PHP 5.3.2+ that provides transparent persistence for PHP objects. It sits on top of a powerful database abstraction layer (DBAL). One of its key features is the option to write database queries in a proprietary object oriented SQL dialect called Doctrine Query Language (DQL), inspired by Hibernates HQL. This provides developers with a powerful alternative to SQL that maintains flexibility without requiring unnecessary code duplication.

More resources:

Description
Doctrine 2 Object Relational Mapper (ORM)
Readme MIT 32 MiB
Languages
PHP 100%