Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-162

BeforeInsertID & AfterInsertID emulation workflow, wie bei MDB2

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.1
    • Fix Version/s: 2.6
    • Component/s: Drivers
    • Security Level: All
    • Labels:
      None

      Description

      The following workflow is necessary for portable code to work on all platforms:

      $nextId = $conn->nextSequenceId();
      $query = "INSERT INTO (id) VALUES (?)";
      $conn->executeUpdate($query, array($nextId));
      $nextId = $conn->lastInsertId();
      

        Activity

        Benjamin Eberlei created issue -
        Guilherme Blanco made changes -
        Field Original Value New Value
        Fix Version/s 2.3 [ 10184 ]
        Fix Version/s 2.2 [ 10142 ]
        Benjamin Eberlei made changes -
        Workflow jira [ 13009 ] jira-feedback2 [ 17583 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 17583 ] jira-feedback3 [ 19937 ]
        Benjamin Eberlei made changes -
        Fix Version/s 2.4 [ 10320 ]
        Fix Version/s 2.3 [ 10184 ]
        Benjamin Eberlei made changes -
        Fix Version/s 2.5 [ 10523 ]
        Fix Version/s 2.4 [ 10320 ]
        Benjamin Eberlei made changes -
        Fix Version/s 2.6 [ 10726 ]
        Fix Version/s 2.5 [ 10523 ]

        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=DBAL-162, 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: