Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-2335

[GH-603] Add a filter to the import and convert mapping

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      This issue is created automatically through a Github pull request on behalf of nicolasTheodo:

      Url: https://github.com/doctrine/doctrine2/pull/603

      Message:

      Hi,

      I needed to import the mapping of an existing database in order to create doctrine2 entities, but when you run the command, it throw an exception on every table without a primary key.

      I tried to use the filter option, but the error still occurs because the exception was throw in the method which get all the metadata informations.

      I added a method which get the metadata of some tables according to a filter.

      What are your thought bout my issue?

        Activity

        Hide
        Doctrine Bot added a comment -

        A related Github Pull-Request [GH-603] was closed:
        https://github.com/doctrine/doctrine2/pull/603

        Show
        Doctrine Bot added a comment - A related Github Pull-Request [GH-603] was closed: https://github.com/doctrine/doctrine2/pull/603

          People

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

            Dates

            • Created:
              Updated:
              Resolved: