db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mpoes...@apache.org
Subject cvs commit: db-torque/xdocs changes.xml
Date Tue, 01 Jul 2003 04:21:16 GMT
mpoeschl    2003/06/30 21:21:15

  Modified:    src/java/org/apache/torque/engine/database/model Tag:
                        TORQUE_3_0_BRANCH Database.java
               xdocs    Tag: TORQUE_3_0_BRANCH changes.xml
  Log:
  TRQS132: Database.java using null object
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.17.2.2  +6 -6      db-torque/src/java/org/apache/torque/engine/database/model/Attic/Database.java
  
  Index: Database.java
  ===================================================================
  RCS file: /home/cvs/db-torque/src/java/org/apache/torque/engine/database/model/Attic/Database.java,v
  retrieving revision 1.17.2.1
  retrieving revision 1.17.2.2
  diff -u -r1.17.2.1 -r1.17.2.2
  --- Database.java	27 May 2003 18:06:45 -0000	1.17.2.1
  +++ Database.java	1 Jul 2003 04:21:15 -0000	1.17.2.2
  @@ -457,16 +457,16 @@
                           = currFK.getForeignColumns().iterator();
                   while (foreignColumnNames.hasNext())
                   {
  -                    Column foreign = foreignTable
  -                        .getColumn((String) foreignColumnNames.next());
  +                    String foreignColumnName = (String) foreignColumnNames.next();
  +                    Column foreign = foreignTable.getColumn(foreignColumnName);
                       // if the foreign column does not exist, we may have an
                       // external reference or a misspelling
                       if (foreign == null)
                       {
                           System.out.println("ERROR!! Attempt to set foreign"
  -                                + " key to nonexistent column, "
  -                                + foreign.getName() + ", in table, "
  -                                + foreignTable.getName() + "!");
  +                                 + " key to nonexistent column: table="
  +                                 +  currTable.getName() + ", foreign column=" 
  +                                 +  foreignColumnName + "!");
                       }
                       foreign.addReferrer(currFK);
                   }
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.54.2.18 +16 -0     db-torque/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/db-torque/xdocs/changes.xml,v
  retrieving revision 1.54.2.17
  retrieving revision 1.54.2.18
  diff -u -r1.54.2.17 -r1.54.2.18
  --- changes.xml	20 Jun 2003 19:23:22 -0000	1.54.2.17
  +++ changes.xml	1 Jul 2003 04:21:15 -0000	1.54.2.18
  @@ -10,6 +10,22 @@
   
     <body>
   
  +<section name="Torque 3.0.3">
  +<p>
  +  Changes between Torque 3.0.2 and 3.0.3.<br/>
  +</p>
  +1
  +<subsection name="Fixed bugs">
  +<p>
  +  <ul>
  +    <li>
  +      TRQS132: Database.java using null object
  +    </li>
  +  </ul>
  +</p>
  +</subsection>
  +</section>
  +
   
   <section name="Torque 3.0.2">
   <p>
  
  
  

Mime
View raw message