Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1393

Skipping tables or columns in database driver or SchemaTool

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.1.1, Git Master
    • Fix Version/s: 2.x
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      There should be a sane way to skip sources of errors in SchemaTool and the DatabaseDriver.

        Activity

        Benjamin Eberlei created issue -
        Hide
        Benjamin Eberlei added a comment -

        Idea:

        Develop a datastructure of sorts that allows saving information about skipping tables and columns therein when reverse engeneering.

        Show
        Benjamin Eberlei added a comment - Idea: Develop a datastructure of sorts that allows saving information about skipping tables and columns therein when reverse engeneering.
        Hide
        Guilherme Blanco added a comment -

        This is not possible unless you take advantage of Topological Sorting to map class dependencies like we do inside of UnitOfWork AFTER creating the ClassMetadata.

        The necessity of having this is mandatory because we can never skip classes that have associations to other ones though FK.
        You may try that, but it doesn't compensate the effort. I'd rather mark this bug as won't fix, but I'm leaving for you do that. =)

        Show
        Guilherme Blanco added a comment - This is not possible unless you take advantage of Topological Sorting to map class dependencies like we do inside of UnitOfWork AFTER creating the ClassMetadata. The necessity of having this is mandatory because we can never skip classes that have associations to other ones though FK. You may try that, but it doesn't compensate the effort. I'd rather mark this bug as won't fix, but I'm leaving for you do that. =)
        Hide
        Guilherme Blanco added a comment -

        Updating fix version

        Show
        Guilherme Blanco added a comment - Updating fix version
        Guilherme Blanco made changes -
        Field Original Value New Value
        Fix Version/s 2.x [ 10090 ]
        Fix Version/s 2.2 [ 10157 ]
        Benjamin Eberlei made changes -
        Workflow jira [ 13040 ] jira-feedback [ 13970 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback [ 13970 ] jira-feedback2 [ 15834 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 15834 ] jira-feedback3 [ 18090 ]

        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-1393, 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: