Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-38

Unused DBAL\Events (preExecute, postExecute)...

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-BETA3
    • Fix Version/s: 2.0.0-BETA4
    • Component/s: None
    • Labels:
      None
    • Environment:
      Linux

      Description

      The ORM has a neat collection of Events, but the DBAL doesn't have any.
      There is an DBAL/Events.php class which has defined constants for preExec, postExec, preExecute and postExecute (similar to ORM/Events.php), but these seem to be completely unused.
      The only event/loging seems to be the ->logSql() event.

      A preExecute & postExecute events would be great for timing/profiling queries.

        Activity

        Hannes Magnusson created issue -
        Roman S. Borschel made changes -
        Field Original Value New Value
        Component/s ORM [ 10012 ]
        Component/s DBAL [ 10011 ]
        Roman S. Borschel made changes -
        Summary Unused ORM\Events (preExecute, postExecute)... Unused DBAL\Events (preExecute, postExecute)...
        Roman S. Borschel made changes -
        Project Doctrine 2 - ORM [ 10032 ] Doctrine DBAL [ 10040 ]
        Key DDC-226 DBAL-38
        Affects Version/s 2.0.0-BETA3 [ 10066 ]
        Affects Version/s 2.0-ALPHA3 [ 10029 ]
        Component/s ORM [ 10012 ]
        Roman S. Borschel made changes -
        Assignee Roman S. Borschel [ romanb ] Benjamin Eberlei [ beberlei ]
        Benjamin Eberlei made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.0.0-BETA4 [ 10071 ]
        Resolution Fixed [ 1 ]
        Benjamin Eberlei made changes -
        Workflow jira [ 10657 ] jira-feedback2 [ 17622 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 17622 ] jira-feedback3 [ 19977 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: