mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #218] [CLOSED] association override #7879
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/doctrine/orm/pull/218
Author: @FabioBatSilva
Created: 12/14/2011
Status: ❌ Closed
Base:
master← Head:DDC-964-AssociationOverride📝 Commits (9)
7fcde2fadded support for @AssociationOverride0d2625fadded xml/yml drivers03101c6fix docblock and remove white spaces18dbad7added tags on doctrine-mapping.xsdfe5b66eadded missing ''5360c07support for attribute overrided009a9aadd annotations6d36dedupdate since5bdabf2Revert "update since"📊 Changes
29 files changed (+1548 additions, -172 deletions)
View changed files
📝
doctrine-mapping.xsd(+33 -0)➕
lib/Doctrine/ORM/Mapping/AssociationOverride.php(+56 -0)➕
lib/Doctrine/ORM/Mapping/AssociationOverrides.php(+41 -0)➕
lib/Doctrine/ORM/Mapping/AttributeOverride.php(+47 -0)➕
lib/Doctrine/ORM/Mapping/AttributeOverrides.php(+41 -0)📝
lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php(+90 -6)📝
lib/Doctrine/ORM/Mapping/Column.php(+1 -1)📝
lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php(+117 -55)📝
lib/Doctrine/ORM/Mapping/Driver/DoctrineAnnotations.php(+4 -0)📝
lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php(+124 -52)📝
lib/Doctrine/ORM/Mapping/Driver/YamlDriver.php(+136 -51)📝
lib/Doctrine/ORM/Mapping/JoinTable.php(+1 -1)📝
lib/Doctrine/ORM/Mapping/MappingException.php(+22 -0)➕
tests/Doctrine/Tests/Models/DDC964/DDC964Address.php(+123 -0)➕
tests/Doctrine/Tests/Models/DDC964/DDC964Admin.php(+47 -0)➕
tests/Doctrine/Tests/Models/DDC964/DDC964Group.php(+70 -0)➕
tests/Doctrine/Tests/Models/DDC964/DDC964Guest.php(+44 -0)➕
tests/Doctrine/Tests/Models/DDC964/DDC964User.php(+155 -0)📝
tests/Doctrine/Tests/ORM/Mapping/AbstractMappingDriverTest.php(+125 -6)📝
tests/Doctrine/Tests/ORM/Mapping/ClassMetadataTest.php(+42 -0)...and 9 more files
📄 Description
Hello All
This patch is one part of DDC-964 : http://www.doctrine-project.org/jira/browse/DDC-964
First part add suport for AssociationOverride.
I wrote this code based on java implementation :
http://docs.oracle.com/javaee/6/api/javax/persistence/AssociationOverride.html
Any sugestion are welcome
Thanks
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.