db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject cvs commit: db-torque/src/generator/src/templates/sql/base/mssql drop.vm
Date Fri, 20 Aug 2004 11:47:19 GMT
seade       2004/08/20 04:47:19

  Modified:    src/generator/src/templates/sql/base/hypersonic Tag:
                        TORQUE_3_1_BRANCH drop.vm
               src/generator/src/templates/sql/base/postgresql Tag:
                        TORQUE_3_1_BRANCH table.vm drop.vm
               xdocs    Tag: TORQUE_3_1_BRANCH release-changes.xml
               src/generator/src/templates/sql/base/mssql Tag:
                        TORQUE_3_1_BRANCH drop.vm
  Removed:     src/generator/src/templates/sql/base/postgresql Tag:
                        TORQUE_3_1_BRANCH sequence.vm
  Log:
  Generate sequences correctly for PostgreSQL (i.e. leave it to PostgreSQL).  Note that schemas
produced from the database using the torque:jdbc goal are not yet handling sequences correctly.
  Backported a few template fixes from Serge Huber that were committed to HEAD some time ago.
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.1.2.1   +1 -1      db-torque/src/generator/src/templates/sql/base/hypersonic/drop.vm
  
  Index: drop.vm
  ===================================================================
  RCS file: /home/cvs/db-torque/src/generator/src/templates/sql/base/hypersonic/drop.vm,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  --- drop.vm	10 Feb 2003 13:18:48 -0000	1.1
  +++ drop.vm	20 Aug 2004 11:47:18 -0000	1.1.2.1
  @@ -1 +1 @@
  -drop table if exists $table.Name;
  +drop table $table.Name if exists;
  
  
  
  No                   revision
  No                   revision
  1.1.2.1   +0 -2      db-torque/src/generator/src/templates/sql/base/postgresql/table.vm
  
  Index: table.vm
  ===================================================================
  RCS file: /home/cvs/db-torque/src/generator/src/templates/sql/base/postgresql/table.vm,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  --- table.vm	10 Feb 2003 13:18:47 -0000	1.1
  +++ table.vm	20 Aug 2004 11:47:18 -0000	1.1.2.1
  @@ -3,8 +3,6 @@
   -- $table.Name
   -----------------------------------------------------------------------------
   $generator.parse("$basepath/drop.vm", "", "table", $tbl)
  -#set ( $sequence = $generator.parse("$basepath/sequence.vm", "", "table", $tbl) )
  -#if ($sequence.length()>0)$sequence#end
   
   CREATE TABLE $table.Name
   (
  
  
  
  1.1.2.1   +1 -4      db-torque/src/generator/src/templates/sql/base/postgresql/drop.vm
  
  Index: drop.vm
  ===================================================================
  RCS file: /home/cvs/db-torque/src/generator/src/templates/sql/base/postgresql/drop.vm,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  --- drop.vm	10 Feb 2003 13:18:47 -0000	1.1
  +++ drop.vm	20 Aug 2004 11:47:18 -0000	1.1.2.1
  @@ -1,4 +1 @@
  -DROP TABLE $table.Name;
  -#if ($table.IdMethod == "native")
  -DROP SEQUENCE $table.SequenceName;
  -#end
  +DROP TABLE $table.Name CASCADE;
  
  
  
  No                   revision
  No                   revision
  1.3.2.12  +10 -0     db-torque/xdocs/release-changes.xml
  
  Index: release-changes.xml
  ===================================================================
  RCS file: /home/cvs/db-torque/xdocs/release-changes.xml,v
  retrieving revision 1.3.2.11
  retrieving revision 1.3.2.12
  diff -u -r1.3.2.11 -r1.3.2.12
  --- release-changes.xml	20 Aug 2004 03:19:13 -0000	1.3.2.11
  +++ release-changes.xml	20 Aug 2004 11:47:18 -0000	1.3.2.12
  @@ -34,6 +34,16 @@
   <p>
     <ul>
       <li>
  +      Backported a few template fixes from Serge Huber that were committed
  +      to HEAD some time ago.
  +    </li>
  +    <li>
  +      Generate sequences correctly for PostgreSQL (i.e. leave it to 
  +      PostgreSQL).  Note that schemas produced from the database using
  +      the <code>torque:jdbc</code> goal are not yet handling sequences
  +      correctly.
  +    </li>
  +    <li>
         Upgrade to commons-collections-3.0, commons-configuration-1.0-rc1,
         commons-lang-2.0 and commons-logging-1.0.4.
       </li>
  
  
  
  No                   revision
  No                   revision
  1.1.2.1   +1 -1      db-torque/src/generator/src/templates/sql/base/mssql/drop.vm
  
  Index: drop.vm
  ===================================================================
  RCS file: /home/cvs/db-torque/src/generator/src/templates/sql/base/mssql/drop.vm,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  --- drop.vm	10 Feb 2003 13:18:49 -0000	1.1
  +++ drop.vm	20 Aug 2004 11:47:19 -0000	1.1.2.1
  @@ -26,4 +26,4 @@
        DEALLOCATE refcursor
        DROP TABLE $table.Name
   END
  -
  +;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message