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/src/templates/sql/base/interbase primarykey.vm
Date Thu, 05 Jun 2003 05:40:58 GMT
mpoeschl    2003/06/04 22:40:58

  Modified:    src/templates/sql/base/sapdb Tag: TORQUE_3_0_BRANCH
                        primarykey.vm
               src/templates/sql/base/db2 Tag: TORQUE_3_0_BRANCH
                        primarykey.vm
               src/templates/sql/base/cloudscape Tag: TORQUE_3_0_BRANCH
                        primarykey.vm
               src/templates/sql/base/db2400 Tag: TORQUE_3_0_BRANCH
                        primarykey.vm
               xdocs    Tag: TORQUE_3_0_BRANCH changes.xml
               src/templates/sql/base/interbase Tag: TORQUE_3_0_BRANCH
                        primarykey.vm
  Log:
  TRQS141: Table with no primary key results an empty ADD PRIMARY KEY ()
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.3.2.1   +2 -0      db-torque/src/templates/sql/base/sapdb/Attic/primarykey.vm
  
  Index: primarykey.vm
  ===================================================================
  RCS file: /home/cvs/db-torque/src/templates/sql/base/sapdb/Attic/primarykey.vm,v
  retrieving revision 1.3
  retrieving revision 1.3.2.1
  diff -u -r1.3 -r1.3.2.1
  --- primarykey.vm	4 Sep 2002 23:37:19 -0000	1.3
  +++ primarykey.vm	5 Jun 2003 05:40:57 -0000	1.3.2.1
  @@ -1,2 +1,4 @@
  +#if ($table.hasPrimaryKey())
   ALTER TABLE $table.Name
       ADD PRIMARY KEY ($table.printPrimaryKey()) ;
  +#end
  \ No newline at end of file
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.2.2.1   +2 -0      db-torque/src/templates/sql/base/db2/Attic/primarykey.vm
  
  Index: primarykey.vm
  ===================================================================
  RCS file: /home/cvs/db-torque/src/templates/sql/base/db2/Attic/primarykey.vm,v
  retrieving revision 1.2
  retrieving revision 1.2.2.1
  diff -u -r1.2 -r1.2.2.1
  --- primarykey.vm	26 Sep 2002 14:28:35 -0000	1.2
  +++ primarykey.vm	5 Jun 2003 05:40:57 -0000	1.2.2.1
  @@ -1,2 +1,4 @@
  +#if ($table.hasPrimaryKey())
   ALTER TABLE $table.Name
       ADD PRIMARY KEY ($table.printPrimaryKey());
  +#end
  \ No newline at end of file
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.1.4.1   +3 -1      db-torque/src/templates/sql/base/cloudscape/Attic/primarykey.vm
  
  Index: primarykey.vm
  ===================================================================
  RCS file: /home/cvs/db-torque/src/templates/sql/base/cloudscape/Attic/primarykey.vm,v
  retrieving revision 1.1
  retrieving revision 1.1.4.1
  diff -u -r1.1 -r1.1.4.1
  --- primarykey.vm	12 Nov 2001 05:27:26 -0000	1.1
  +++ primarykey.vm	5 Jun 2003 05:40:57 -0000	1.1.4.1
  @@ -1 +1,3 @@
  -    PRIMARY KEY($table.printPrimaryKey()),
  +#if ($table.hasPrimaryKey())
  +    PRIMARY KEY($table.printPrimaryKey()),
  +#end
  \ No newline at end of file
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.1.4.1   +2 -1      db-torque/src/templates/sql/base/db2400/Attic/primarykey.vm
  
  Index: primarykey.vm
  ===================================================================
  RCS file: /home/cvs/db-torque/src/templates/sql/base/db2400/Attic/primarykey.vm,v
  retrieving revision 1.1
  retrieving revision 1.1.4.1
  diff -u -r1.1 -r1.1.4.1
  --- primarykey.vm	19 Oct 2001 14:56:27 -0000	1.1
  +++ primarykey.vm	5 Jun 2003 05:40:57 -0000	1.1.4.1
  @@ -1,4 +1,5 @@
  +#if ($table.hasPrimaryKey())
   ALTER TABLE $table.Name
       ADD CONSTRAINT ${table.Name}_PK 
   PRIMARY KEY ($table.printPrimaryKey());
  -
  +#end
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.54.2.9  +13 -3     db-torque/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/db-torque/xdocs/changes.xml,v
  retrieving revision 1.54.2.8
  retrieving revision 1.54.2.9
  diff -u -r1.54.2.8 -r1.54.2.9
  --- changes.xml	27 May 2003 20:06:44 -0000	1.54.2.8
  +++ changes.xml	5 Jun 2003 05:40:57 -0000	1.54.2.9
  @@ -28,9 +28,13 @@
   <p>
     <ul>
       <li>
  -        The DTD resolver will now use the database.dtd from the classpath if the DTD
  -        is http://db.apache.org/torque/dtd/database_3_0_1.dtd.  This change
  -        allows XML editor to use the proper version of the DTD.
  +      The DTD resolver will now use the database.dtd from the classpath if the DTD
  +      is http://db.apache.org/torque/dtd/database_3_0_1.dtd.  This change
  +      allows XML editor to use the proper version of the DTD.
  +    </li>
  +    <li>
  +      Removed logic to convert strings to boolean type. 
  +      The Village API is now used for this.
       </li>
       <li>
         TRQS95: Junit tests for sql2xml task (SQLToAppDataTest)
  @@ -52,6 +56,9 @@
         TRQ47: limit and offset patch for Oracle
       </li>
       <li>
  +      TRQD21: torque schema-reference.html bug: unique-column
  +    </li>
  +    <li>
         TRQS35: id-table-schema.xml has no database name
       </li>
       <li>
  @@ -73,6 +80,9 @@
       <li>
         TRQS122: Join methods are not generated.
       </li>
  +    <li>
  +      TRQS141: Table with no primary key results an empty ADD PRIMARY KEY ()
  +    </li>  
     </ul>
   </p>
   </subsection>
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.1.1.1.4.1 +2 -0      db-torque/src/templates/sql/base/interbase/Attic/primarykey.vm
  
  Index: primarykey.vm
  ===================================================================
  RCS file: /home/cvs/db-torque/src/templates/sql/base/interbase/Attic/primarykey.vm,v
  retrieving revision 1.1.1.1
  retrieving revision 1.1.1.1.4.1
  diff -u -r1.1.1.1 -r1.1.1.1.4.1
  --- primarykey.vm	2 Aug 2001 05:08:39 -0000	1.1.1.1
  +++ primarykey.vm	5 Jun 2003 05:40:58 -0000	1.1.1.1.4.1
  @@ -1 +1,3 @@
  +#if ($table.hasPrimaryKey())
       PRIMARY KEY($table.printPrimaryKey()),
  +#end
  \ No newline at end of file
  
  
  

Mime
View raw message