mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #537] [MERGED] fixed problems with joined inheritance and composite keys #8338
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/537
Author: @Powerhamster
Created: 12/16/2012
Status: ✅ Merged
Merged: 5/4/2013
Merged by: @beberlei
Base:
master← Head:joined-composite-keys📝 Commits (2)
fb055cafixed problems with joined inheritance and composite keys86c33d7inheritance with composite keys📊 Changes
9 files changed (+348 additions, -35 deletions)
View changed files
📝
lib/Doctrine/ORM/Persisters/JoinedSubclassPersister.php(+4 -1)📝
lib/Doctrine/ORM/Tools/SchemaTool.php(+111 -34)➕
tests/Doctrine/Tests/Models/CompositeKeyInheritance/JoinedChildClass.php(+21 -0)➕
tests/Doctrine/Tests/Models/CompositeKeyInheritance/JoinedRootClass.php(+25 -0)➕
tests/Doctrine/Tests/Models/CompositeKeyInheritance/SingleChildClass.php(+21 -0)➕
tests/Doctrine/Tests/Models/CompositeKeyInheritance/SingleRootClass.php(+25 -0)➕
tests/Doctrine/Tests/ORM/Functional/JoinedTableCompositeKeyTest.php(+64 -0)➕
tests/Doctrine/Tests/ORM/Functional/SingleTableCompositeKeyTest.php(+64 -0)📝
tests/Doctrine/Tests/OrmFunctionalTestCase.php(+13 -0)📄 Description
SchemaTool now creates all Id columns not just only the first one.
Insert statement for child entity now contains parameter for additional key columns only once.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.