[PR #218] [CLOSED] association override #7879

Closed
opened 2026-01-22 15:57:20 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/218
Author: @FabioBatSilva
Created: 12/14/2011
Status: Closed

Base: masterHead: DDC-964-AssociationOverride


📝 Commits (9)

📊 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.

## 📋 Pull Request Information **Original PR:** https://github.com/doctrine/orm/pull/218 **Author:** [@FabioBatSilva](https://github.com/FabioBatSilva) **Created:** 12/14/2011 **Status:** ❌ Closed **Base:** `master` ← **Head:** `DDC-964-AssociationOverride` --- ### 📝 Commits (9) - [`7fcde2f`](https://github.com/doctrine/orm/commit/7fcde2fddcb8bda99cf2ef740c26d5819bbfd1e8) added support for @AssociationOverride - [`0d2625f`](https://github.com/doctrine/orm/commit/0d2625fd4723711b74d89ced88acdf72a405c8f4) added xml/yml drivers - [`03101c6`](https://github.com/doctrine/orm/commit/03101c6b85c4847f449e9c173878e1d0ffdad83e) fix docblock and remove white spaces - [`18dbad7`](https://github.com/doctrine/orm/commit/18dbad77755abef05a502b4b699ef1a0e0f6be4f) added tags on doctrine-mapping.xsd - [`fe5b66e`](https://github.com/doctrine/orm/commit/fe5b66e024f5640562ec1ff82f4f51c525377258) added missing '\' - [`5360c07`](https://github.com/doctrine/orm/commit/5360c07c2267e71afcc830811293992a43632a27) support for attribute override - [`d009a9a`](https://github.com/doctrine/orm/commit/d009a9af12ca051bc52f951b43f41c45c74dc501) add annotations - [`6d36ded`](https://github.com/doctrine/orm/commit/6d36ded7f2912e27c6cd91c6e9e7c0ffaa1c0052) update since - [`5bdabf2`](https://github.com/doctrine/orm/commit/5bdabf22e4d0d96557f2ecb12fa2b4aa402d570f) Revert "update since" ### 📊 Changes **29 files changed** (+1548 additions, -172 deletions) <details> <summary>View changed files</summary> 📝 `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_ </details> ### 📄 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
admin added the pull-request label 2026-01-22 15:57:20 +01:00
admin closed this issue 2026-01-22 15:57:20 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#7879