Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-44

Remove the static driver class map in DriverManager.

    Details

    • Type: Task Task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-ALPHA2
    • Fix Version/s: 2.0-ALPHA3
    • Component/s: ORM
    • Security Level: All
    • Labels:
      None

      Description

      Remove the static driver class map in DriverManager. Users should supply the class names directly instead. This is more flexible and less maintenance.

        Activity

        Hide
        Guilherme Blanco added a comment -

        I think that's ok to live with mapping array.
        We should follow the same way as we do currently for Tasks, Types, etc. Driver is not different. =)

        Show
        Guilherme Blanco added a comment - I think that's ok to live with mapping array. We should follow the same way as we do currently for Tasks, Types, etc. Driver is not different. =)
        Hide
        Jonathan H. Wage added a comment -

        After some discussion we decided things are fine the way they are. It is already possible with the 'driverClass' parameter instead of 'driver'. The driver option checks in the map for the class name and driverClass allows you to just specify your own class name to use.

        Show
        Jonathan H. Wage added a comment - After some discussion we decided things are fine the way they are. It is already possible with the 'driverClass' parameter instead of 'driver'. The driver option checks in the map for the class name and driverClass allows you to just specify your own class name to use.

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            Roman S. Borschel
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: