You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by jv...@apache.org on 2001/09/27 07:28:31 UTC

cvs commit: jakarta-turbine-2/conf/torque/templates/sql/load/postgresql row.vm val.vm

jvanzyl     01/09/26 22:28:31

  Added:       conf/torque/templates/sql/load/hypersonic row.vm val.vm
               conf/torque/templates/sql/load/postgresql row.vm val.vm
  Log:
  - adding templates for the data load for hypersonic and postgres. for
    tambora and sample app in the tdk.
  
  Revision  Changes    Path
  1.1                  jakarta-turbine-2/conf/torque/templates/sql/load/hypersonic/row.vm
  
  Index: row.vm
  ===================================================================
  INSERT INTO $row.Table.Name (##
  #set ($comma="")#foreach($col in $row.ColumnValues)$comma${col.Column.Name}#set($comma=",")#end)
      VALUES (#set ($comma="")#foreach($col in $row.ColumnValues)$comma${generator.parse("sql/load/mysql/val.vm", "", "column", $col)}#set ($comma=",")#end);
      
  
  
  
  1.1                  jakarta-turbine-2/conf/torque/templates/sql/load/hypersonic/val.vm
  
  Index: val.vm
  ===================================================================
  #if($column.Column.TorqueType=="VARCHAR")'$column.Value'#else$column.Value#end
  
  
  1.1                  jakarta-turbine-2/conf/torque/templates/sql/load/postgresql/row.vm
  
  Index: row.vm
  ===================================================================
  INSERT INTO $row.Table.Name (##
  #set ($comma="")#foreach($col in $row.ColumnValues)$comma${col.Column.Name}#set($comma=",")#end)
      VALUES (#set ($comma="")#foreach($col in $row.ColumnValues)$comma${generator.parse("sql/load/mysql/val.vm", "", "column", $col)}#set ($comma=",")#end);
      
  
  
  
  1.1                  jakarta-turbine-2/conf/torque/templates/sql/load/postgresql/val.vm
  
  Index: val.vm
  ===================================================================
  #if($column.Column.TorqueType=="VARCHAR")'$column.Value'#else$column.Value#end
  
  

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