You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by mp...@apache.org on 2001/11/16 12:40:04 UTC
cvs commit: jakarta-turbine-torque/src/templates/sql/load/postgresql row.vm
mpoeschl 01/11/16 03:40:04
Modified: src/templates/sql/load/hypersonic row.vm
src/templates/sql/load/mssql row.vm
src/templates/sql/load/postgresql row.vm
Log:
don't use mysql templates (except for mysql ;-)
Revision Changes Path
1.2 +1 -1 jakarta-turbine-torque/src/templates/sql/load/hypersonic/row.vm
Index: row.vm
===================================================================
RCS file: /home/cvs/jakarta-turbine-torque/src/templates/sql/load/hypersonic/row.vm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- row.vm 2001/10/27 19:06:17 1.1
+++ row.vm 2001/11/16 11:40:04 1.2
@@ -1,4 +1,4 @@
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);
+ VALUES (#set ($comma="")#foreach($col in $row.ColumnValues)$comma${generator.parse("sql/load/hypersonic/val.vm", "", "column", $col)}#set ($comma=",")#end);
1.2 +1 -1 jakarta-turbine-torque/src/templates/sql/load/mssql/row.vm
Index: row.vm
===================================================================
RCS file: /home/cvs/jakarta-turbine-torque/src/templates/sql/load/mssql/row.vm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- row.vm 2001/10/27 19:06:17 1.1
+++ row.vm 2001/11/16 11:40:04 1.2
@@ -1,4 +1,4 @@
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);
+ VALUES (#set ($comma="")#foreach($col in $row.ColumnValues)$comma${generator.parse("sql/load/mssql/val.vm", "", "column", $col)}#set ($comma=",")#end);
1.2 +1 -1 jakarta-turbine-torque/src/templates/sql/load/postgresql/row.vm
Index: row.vm
===================================================================
RCS file: /home/cvs/jakarta-turbine-torque/src/templates/sql/load/postgresql/row.vm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- row.vm 2001/10/27 19:06:17 1.1
+++ row.vm 2001/11/16 11:40:04 1.2
@@ -1,4 +1,4 @@
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);
+ VALUES (#set ($comma="")#foreach($col in $row.ColumnValues)$comma${generator.parse("sql/load/postgresql/val.vm", "", "column", $col)}#set ($comma=",")#end);
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>