[PR #522] [CLOSED] [DDC-2166] Refactor identity hash generation #8320

Open
opened 2026-01-22 15:59:22 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/522
Author: @beberlei
Created: 11/25/2012
Status: Closed

Base: masterHead: DDC-2166


📝 Commits (1)

  • 44fc081 [DDC-2166] Refactor identity hash generation

📊 Changes

8 files changed (+278 additions, -93 deletions)

View changed files

📝 lib/Doctrine/ORM/EntityManager.php (+8 -51)
lib/Doctrine/ORM/Internal/IdentityMap/CompositeKeyHashStrategy.php (+55 -0)
lib/Doctrine/ORM/Internal/IdentityMap/DerivedKeyHashStrategy.php (+62 -0)
lib/Doctrine/ORM/Internal/IdentityMap/IdentifierHashStrategy.php (+40 -0)
lib/Doctrine/ORM/Internal/IdentityMap/SurrogateKeyHashStrategy.php (+36 -0)
📝 lib/Doctrine/ORM/Persisters/BasicEntityPersister.php (+1 -1)
📝 lib/Doctrine/ORM/UnitOfWork.php (+75 -40)
📝 tests/Doctrine/Tests/ORM/Functional/UnitOfWorkLifecycleTest.php (+1 -1)

📄 Description

This work prepares for the merge of GH-232, allowing more complex and robust identifier hash generation.


🔄 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/522 **Author:** [@beberlei](https://github.com/beberlei) **Created:** 11/25/2012 **Status:** ❌ Closed **Base:** `master` ← **Head:** `DDC-2166` --- ### 📝 Commits (1) - [`44fc081`](https://github.com/doctrine/orm/commit/44fc081e4ae6735ab1e4c4eb7775e8360991dd77) [DDC-2166] Refactor identity hash generation ### 📊 Changes **8 files changed** (+278 additions, -93 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/EntityManager.php` (+8 -51) ➕ `lib/Doctrine/ORM/Internal/IdentityMap/CompositeKeyHashStrategy.php` (+55 -0) ➕ `lib/Doctrine/ORM/Internal/IdentityMap/DerivedKeyHashStrategy.php` (+62 -0) ➕ `lib/Doctrine/ORM/Internal/IdentityMap/IdentifierHashStrategy.php` (+40 -0) ➕ `lib/Doctrine/ORM/Internal/IdentityMap/SurrogateKeyHashStrategy.php` (+36 -0) 📝 `lib/Doctrine/ORM/Persisters/BasicEntityPersister.php` (+1 -1) 📝 `lib/Doctrine/ORM/UnitOfWork.php` (+75 -40) 📝 `tests/Doctrine/Tests/ORM/Functional/UnitOfWorkLifecycleTest.php` (+1 -1) </details> ### 📄 Description This work prepares for the merge of GH-232, allowing more complex and robust identifier hash generation. --- <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:59:22 +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#8320