DDC-667: Lock Timeout Query Hint for DQL Queries #820

Open
opened 2026-01-22 12:51:36 +01:00 by admin · 2 comments
Owner

Originally created by @doctrinebot on GitHub (Jul 4, 2010).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user @beberlei:

After the implementation of DDC-178 there is now only outstanding the support for locking queries based on a given timeout.

This will be a DQL query feature only and be available via a query hint:

$query->setHint(Query::LOCK_TIMEOUT, $timeoutMs);

It will be only working on Oracle.

Originally created by @doctrinebot on GitHub (Jul 4, 2010). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user @beberlei: After the implementation of [DDC-178](http://www.doctrine-project.org/jira/browse/DDC-178) there is now only outstanding the support for locking queries based on a given timeout. This will be a DQL query feature only and be available via a query hint: ``` $query->setHint(Query::LOCK_TIMEOUT, $timeoutMs); ``` It will be only working on Oracle.
admin added the New Feature label 2026-01-22 12:51:36 +01:00
Author
Owner

@doctrinebot commented on GitHub (Aug 30, 2010):

Comment created by romanb:

If this is to be implemented for 2.0, it needs to happen for RC1, therefore rescheduling to RC1. Feel free to reschedule to 2.x if necessary.

@doctrinebot commented on GitHub (Aug 30, 2010): Comment created by romanb: If this is to be implemented for 2.0, it needs to happen for RC1, therefore rescheduling to RC1. Feel free to reschedule to 2.x if necessary.
Author
Owner

@doctrinebot commented on GitHub (Sep 16, 2010):

Comment created by @beberlei:

Only oracle supports lock timeouts and no other vendor seems to plan to support it. I move to 2.x, but i guess this would rather be an issue of user extension.

@doctrinebot commented on GitHub (Sep 16, 2010): Comment created by @beberlei: Only oracle supports lock timeouts and no other vendor seems to plan to support it. I move to 2.x, but i guess this would rather be an issue of user extension.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#820