[PR #932] [DDC-2919] Make lock mode usage consistent #8918

Open
opened 2026-01-22 16:02:18 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/932

State: closed
Merged: Yes


This PR changes ORM's method signatures to declare a default lock mode of null instead of LockMode::NONE to make lock mode usage consistent and predictable on platforms supporting LockMode::NONE table lock hints (currently SQL Server and SQL Anywhere).
Please see UPGRADE.md and DDC-2919 for further details.

**Original Pull Request:** https://github.com/doctrine/orm/pull/932 **State:** closed **Merged:** Yes --- This PR changes ORM's method signatures to declare a default lock mode of `null` instead of `LockMode::NONE` to make lock mode usage consistent and predictable on platforms supporting `LockMode::NONE` table lock hints (currently SQL Server and SQL Anywhere). Please see `UPGRADE.md` and [DDC-2919](http://www.doctrine-project.org/jira/browse/DDC-2919) for further details.
admin added the pull-request label 2026-01-22 16:02:18 +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#8918