Uploaded image for project: 'Doctrine 2 - ORM'
  1. Doctrine 2 - ORM
  2. DDC-667

Lock Timeout Query Hint for DQL Queries

    Details

    • Type: New Feature
    • Status: Open
    • Priority: 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
        beberlei 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
        beberlei 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
        romanb 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
        romanb 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:
            beberlei Benjamin Eberlei
            Reporter:
            beberlei Benjamin Eberlei
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: