• Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Mapping Drivers
    • Labels:


      Currently i'm heavy using doctrine to generate entities starting form database schema (aprox 500 tables with thousand of relations).

      I'm trying to detect some inheritance cases, but there is a problem.

      Doctrine always uses PHP class inheritance to detect entity hierarchy, but generating entities starting from database, i have not yet any php class.

      There is a better way to detect entities hierarchy? Without php classes...
      Mapping files should be self-sufficient, even without php files.

      The practical case is:
      in DatabaseDriver i'm trying to call $metadata->addDiscriminatorMapClass($name, $className) method, but it raises an exception if $classNam does not exists.

      Even if i manualy create XML mapping files, and then i try to generate php entityes. There is the same problem. XmlDriver tries to call setDiscriminatorMap method that raises the same exception.


        goetas Asmir Mustafic created issue -

        This list may be incomplete, as errors occurred whilst retrieving source from linked applications:

        • Request to failed: Error in remote call to 'FishEye 0 (' ( [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={expand=changesets[0:20].revisions[0:29],reviews, query=DDC-2030}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)


          • Assignee:
            beberlei Benjamin Eberlei
            goetas Asmir Mustafic
          • Votes:
            0 Vote for this issue
            1 Start watching this issue


            • Created: