mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #286] [CLOSED] Clear set of readOnlyObjects in UnitOfWork #7970
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/286
Author: @saem
Created: 2/15/2012
Status: ❌ Closed
Base:
master← Head:patch-1📝 Commits (1)
fcafeefWhen persisting entities in a batch and employing partial references (for performance), there can be hash collisions, manifesting as PDO errors regarding unbound parameters.📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
lib/Doctrine/ORM/UnitOfWork.php(+1 -0)📄 Description
This fixes issues due to hash collisions, as spl_object_hash reuses hash values, when using clear interspersed within a bulk insert.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.