Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-667

Lock Timeout Query Hint for DQL Queries

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0-BETA2
    • Fix Version/s: 2.x
    • Component/s: ORM
    • Security Level: All
    • Labels:
      None

      Description

      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.

        Activity

        Hide
        Benjamin Eberlei added a comment -

        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.

        Show
        Benjamin Eberlei added a comment - 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.
        Hide
        Roman S. Borschel added a comment - - edited

        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.

        Show
        Roman S. Borschel added a comment - - edited 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.

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Benjamin Eberlei
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: