Doctrine 1
  1. Doctrine 1
  2. DC-849

Error Generate Schema.yml Database Oracle

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2.3
    • Fix Version/s: None
    • Component/s: Schema Files
    • Labels:
      None
    • Environment:
      Ubuntu 10.4, Oracle

      Description

      Some deleted records are genereated by the Oracle driver, the following patch solves the problem, found with .... alexia.velasquez@hotmail.es, vtamara@pasosdeJesus.org, jeronimo0000@gmail.com

      — Doctrine/Import/Oracle.php.orig 2010-08-31 11:01:10.934142453 -0500
      +++ Doctrine/Import/Oracle.php 2010-08-31 11:01:35.778661707 -0500
      @@ -118,7 +118,7 @@
      SELECT tc.column_name, data_type,
      CASE WHEN data_type = 'NUMBER' THEN data_precision ELSE data_length END AS data_length,
      nullable, data_default, data_scale, data_precision, pk.primary
      -FROM all_tab_columns tc
      +FROM user_tab_columns tc
      LEFT JOIN (
      select 'primary' primary, cc.table_name, cc.column_name from all_constraints cons
      join all_cons_columns cc on cons.constraint_name = cc.constraint_name
      @@ -252,4 +252,4 @@
      $query = 'SELECT view_name FROM sys.user_views';
      return $this->conn->fetchColumn($query);
      }
      -}
      \ No hay ningún carácter de nueva línea al final del fichero
      +}

        Activity

        Hide
        Jonathan H. Wage added a comment -

        Hi, the formatting is a bit unreadable. Can you fork http://github.com/doctrine/doctrine1 and send a pull request?

        Show
        Jonathan H. Wage added a comment - Hi, the formatting is a bit unreadable. Can you fork http://github.com/doctrine/doctrine1 and send a pull request?

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            fernando guerrero
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: