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

        Benjamin Eberlei created issue -
        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.
        Roman S. Borschel made changes -
        Field Original Value New Value
        Fix Version/s 2.0-RC1 [ 10091 ]
        Fix Version/s 2.0 [ 10021 ]
        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.
        Benjamin Eberlei made changes -
        Fix Version/s 2.x [ 10090 ]
        Fix Version/s 2.0-RC1 [ 10091 ]
        Benjamin Eberlei made changes -
        Workflow jira [ 11583 ] jira-feedback [ 13855 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback [ 13855 ] jira-feedback2 [ 15719 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 15719 ] jira-feedback3 [ 17976 ]

        This list may be incomplete, as errors occurred whilst retrieving source from linked applications:

        • Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=DDC-667, expand=changesets[0:20].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

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

            Dates

            • Created:
              Updated: