db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henn...@apache.org
Subject svn commit: r239606 - in /db/torque/templates/trunk: ./ src/templates/ojb/model/ src/templates/ojb/model_broken/ src/templates/ojb/repository/ src/templates/om/ src/templates/om/bean/ src/templates/sql/base/ src/templates/sql/base/db2/ src/templates/sq...
Date Wed, 24 Aug 2005 11:35:01 GMT
Author: henning
Date: Wed Aug 24 04:34:36 2005
New Revision: 239606

URL: http://svn.apache.org/viewcvs?rev=239606&view=rev
Log:
Remove trailing blanks 

Modified:
    db/torque/templates/trunk/maven.xml
    db/torque/templates/trunk/src/templates/ojb/model/BaseManager.vm
    db/torque/templates/trunk/src/templates/ojb/model/Control.vm
    db/torque/templates/trunk/src/templates/ojb/model/Manager.vm
    db/torque/templates/trunk/src/templates/ojb/model_broken/Control.vm
    db/torque/templates/trunk/src/templates/ojb/repository/Control.vm
    db/torque/templates/trunk/src/templates/ojb/repository/MainRepository.vm
    db/torque/templates/trunk/src/templates/ojb/repository/Repository.vm
    db/torque/templates/trunk/src/templates/om/Control.vm
    db/torque/templates/trunk/src/templates/om/Object.vm
    db/torque/templates/trunk/src/templates/om/ObjectWithManager.vm
    db/torque/templates/trunk/src/templates/om/Peer.vm
    db/torque/templates/trunk/src/templates/om/bean/Bean.vm
    db/torque/templates/trunk/src/templates/om/bean/ObjectBeanImports.vm
    db/torque/templates/trunk/src/templates/om/bean/ObjectBeanMethods.vm
    db/torque/templates/trunk/src/templates/sql/base/Control.vm
    db/torque/templates/trunk/src/templates/sql/base/db2/columns.vm
    db/torque/templates/trunk/src/templates/sql/base/db2/foreignkey.vm
    db/torque/templates/trunk/src/templates/sql/base/db2400/primarykey.vm
    db/torque/templates/trunk/src/templates/sql/base/derby/foreignkey.vm
    db/torque/templates/trunk/src/templates/sql/base/hypersonic/primarykey.vm
    db/torque/templates/trunk/src/templates/sql/base/msaccess/primarykey.vm
    db/torque/templates/trunk/src/templates/sql/base/mssql/columns.vm
    db/torque/templates/trunk/src/templates/sql/base/mssql/foreignkey.vm
    db/torque/templates/trunk/src/templates/sql/base/mysql/foreignkey.vm
    db/torque/templates/trunk/src/templates/sql/base/mysql/primarykey.vm
    db/torque/templates/trunk/src/templates/sql/base/mysql/tablefk.vm
    db/torque/templates/trunk/src/templates/sql/base/postgresql/foreignkey.vm
    db/torque/templates/trunk/src/templates/sql/base/postgresql/tablefk.vm
    db/torque/templates/trunk/src/templates/sql/base/sybase/columns.vm
    db/torque/templates/trunk/src/templates/sql/base/sybase/foreignkey.vm
    db/torque/templates/trunk/src/templates/sql/db-init/Control.vm
    db/torque/templates/trunk/src/templates/sql/load/axion/row.vm
    db/torque/templates/trunk/src/templates/sql/load/derby/row.vm
    db/torque/templates/trunk/src/templates/sql/load/hypersonic/row.vm
    db/torque/templates/trunk/src/templates/sql/load/mssql/row.vm
    db/torque/templates/trunk/src/templates/sql/load/postgresql/row.vm

Modified: db/torque/templates/trunk/maven.xml
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/maven.xml?rev=239606&r1=239605&r2=239606&view=diff
==============================================================================
--- db/torque/templates/trunk/maven.xml (original)
+++ db/torque/templates/trunk/maven.xml Wed Aug 24 04:34:36 2005
@@ -35,6 +35,6 @@
         <include name="project.xml"/>
         <include name="project.properties"/>
       </fileset>
-    </copy>  
+    </copy>
   </preGoal>
 </project>

Modified: db/torque/templates/trunk/src/templates/ojb/model/BaseManager.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/ojb/model/BaseManager.vm?rev=239606&r1=239605&r2=239606&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/ojb/model/BaseManager.vm (original)
+++ db/torque/templates/trunk/src/templates/ojb/model/BaseManager.vm Wed Aug 24 04:34:36 2005
@@ -33,9 +33,9 @@
 public class ${basePrefix}${table.JavaName}Manager
 {
     /** Logging class from commons.logging */
-    private static Log log = LogFactory.getLog(${basePrefix}${table.JavaName}Manager.class);            
+    private static Log log = LogFactory.getLog(${basePrefix}${table.JavaName}Manager.class);
 
-    protected PersistenceBroker getBroker() { 
+    protected PersistenceBroker getBroker() {
         return PersistenceBrokerFactory.defaultPersistenceBroker();
     }
 
@@ -81,7 +81,7 @@
             broker.close();
         }
     }
-    
+
     protected void save(PersistenceBroker broker, ${table.JavaName} object) {
         broker.store(object);
     }
@@ -99,7 +99,7 @@
             broker.close();
         }
     }
-    
+
     protected void delete(PersistenceBroker broker, ${table.JavaName} object) {
         broker.delete(object);
     }

Modified: db/torque/templates/trunk/src/templates/ojb/model/Control.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/ojb/model/Control.vm?rev=239606&r1=239605&r2=239606&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/ojb/model/Control.vm (original)
+++ db/torque/templates/trunk/src/templates/ojb/model/Control.vm Wed Aug 24 04:34:36 2005
@@ -38,13 +38,13 @@
         #set ( $fname = "${basePrefix}${firstcap}.java" )
         #set ( $path = "${strings.getPackageAsPath($package)}$fname" )
         $generator.parse("ojb/model/BaseObject.vm",$path,"table",$tbl)
-        
+
         #set ( $fname = "${firstcap}Manager.java" )
         #set ( $path = "${strings.getPackageAsPath($package)}$fname" )
         #if (!$files.file($basePath,$path).exists())
           $generator.parse("ojb/model/Manager.vm",$path,"table",$tbl)
         #end
-        
+
         #set ( $fname = "${basePrefix}${firstcap}Manager.java" )
         #set ( $path = "${strings.getPackageAsPath($package)}$fname" )
         $generator.parse("ojb/model/BaseManager.vm",$path,"table",$tbl)

Modified: db/torque/templates/trunk/src/templates/ojb/model/Manager.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/ojb/model/Manager.vm?rev=239606&r1=239605&r2=239606&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/ojb/model/Manager.vm (original)
+++ db/torque/templates/trunk/src/templates/ojb/model/Manager.vm Wed Aug 24 04:34:36 2005
@@ -40,10 +40,10 @@
     private ${table.JavaName}Manager() {
         super();
     }
-    
+
     /**
      * Get instance.
-     * 
+     *
      * @return a instance
      */
     public static ${table.JavaName}Manager getInstance() {

Modified: db/torque/templates/trunk/src/templates/ojb/model_broken/Control.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/ojb/model_broken/Control.vm?rev=239606&r1=239605&r2=239606&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/ojb/model_broken/Control.vm (original)
+++ db/torque/templates/trunk/src/templates/ojb/model_broken/Control.vm Wed Aug 24 04:34:36 2005
@@ -15,20 +15,20 @@
 
 #foreach ($dataModel in $dataModels)
   #foreach ($database in $dataModel.Databases)
-  
+
     #if ($database.Package)
-      #set ($package = $database.Package)   
-    #else   
+      #set ($package = $database.Package)
+    #else
       #set ($package = $targetPackage)
     #end
-  
+
     #set ( $path = $strings.getPackageAsPath($package) )
     $files.mkdir("$outputDirectory/$path")
-  
+
     #foreach ($tbl in $database.Tables)
       $tbl.Name
       #set ( $firstcap=$tbl.JavaName )
-      
+
       #set ( $fname = "${firstcap}.java" )
       #set ( $path = "${strings.getPackageAsPath($package)}$fname" )
 
@@ -41,7 +41,7 @@
       $generator.parse("ojb/model/Object.vm",$path,"table",$tbl)
 
       #if ( $ojbUseProxy == true )
- 	     
+
       	#set ( $fname = "${firstcap}ProxyInterface.java" )
        	#set ( $path = "${strings.getPackageAsPath($package)}$fname" )
       	#if (!$files.file($basePath,$path).exists())
@@ -51,7 +51,7 @@
       	#set ( $fname = "${basePrefix}${firstcap}ProxyInterface.java" )
        	#set ( $path = "${strings.getPackageAsPath($package)}$fname" )
       	$generator.parse("ojb/model/ProxyInterface.vm",$path,"table",$tbl)
-      
+
       #end
 
       #if ($ojbUseInterface == true )
@@ -60,10 +60,10 @@
         #set ( $path = "${strings.getPackageAsPath($package)}$fname" )
         #if (!$files.file($basePath,$path).exists())
           $generator.parse("ojb/model/ExtensionInterface.vm",$path,"table",$tbl)
-        #end	
-      
+        #end
+
         #set ( $fname = "${basePrefix}${firstcap}Interface.java" )
-        #set ( $path = "${strings.getPackageAsPath($package)}$fname" )     
+        #set ( $path = "${strings.getPackageAsPath($package)}$fname" )
         $generator.parse("ojb/model/Interface.vm",$path,"table",$tbl)
 
       #end

Modified: db/torque/templates/trunk/src/templates/ojb/repository/Control.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/ojb/repository/Control.vm?rev=239606&r1=239605&r2=239606&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/ojb/repository/Control.vm (original)
+++ db/torque/templates/trunk/src/templates/ojb/repository/Control.vm Wed Aug 24 04:34:36 2005
@@ -26,7 +26,7 @@
         #set ( $outFile = "repository_${database.Name}.xml" )
   	#set ( $modelCount = $velocityCount )
 
-  	File to be created: $outFile	
+  	File to be created: $outFile
 	$generator.parse($rname,$outFile,"database",$database)
-    #end 
+    #end
 #end

Modified: db/torque/templates/trunk/src/templates/ojb/repository/MainRepository.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/ojb/repository/MainRepository.vm?rev=239606&r1=239605&r2=239606&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/ojb/repository/MainRepository.vm (original)
+++ db/torque/templates/trunk/src/templates/ojb/repository/MainRepository.vm Wed Aug 24 04:34:36 2005
@@ -13,7 +13,7 @@
 ## limitations under the License.
 <?xml version="1.0" encoding="UTF-8"?>
 
-<!-- 
+<!--
   Repository for the Apache ObJectRelationalBridge (OJB) System.
   Generated by Torque on: [$now]
 -->
@@ -55,8 +55,8 @@
       <attribute attribute-name="globalSequenceStart" attribute-value="10000"/>
     </sequence-manager>
   </jdbc-connection-descriptor>
-  
-  
+
+
   <!-- include internal mappings here -->
   &internal;
 

Modified: db/torque/templates/trunk/src/templates/ojb/repository/Repository.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/ojb/repository/Repository.vm?rev=239606&r1=239605&r2=239606&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/ojb/repository/Repository.vm (original)
+++ db/torque/templates/trunk/src/templates/ojb/repository/Repository.vm Wed Aug 24 04:34:36 2005
@@ -87,23 +87,23 @@
       name="$col.UncapitalisedJavaName"
       column="$col.Name"
       jdbc-type="$jdbcFieldType"
-#if ($col.isNotNull()) 
-      nullable="false" 
+#if ($col.isNotNull())
+      nullable="false"
 #end
-#if ($indices.indexOf($col.Name) != -1) 
-      indexed="true" 
+#if ($indices.indexOf($col.Name) != -1)
+      indexed="true"
 #end
-#if ($col.isPrimaryKey()) 
-      primarykey="true" 
+#if ($col.isPrimaryKey())
+      primarykey="true"
 #end
-#if ($col.isAutoIncrement()) 
-      autoincrement="true" 
+#if ($col.isAutoIncrement())
+      autoincrement="true"
 #end
-#if ($size != "" && $size != "0") 
-      length="${size}" 
+#if ($size != "" && $size != "0")
+      length="${size}"
 #end
-#if ($precision != "") 
-      precision="${precision}" 
+#if ($precision != "")
+      precision="${precision}"
 #end
 #if ($col.TorqueType == "BOOLEANINT")
       conversion="org.apache.ojb.broker.accesslayer.conversions.Boolean2IntFieldConversion"

Modified: db/torque/templates/trunk/src/templates/om/Control.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/om/Control.vm?rev=239606&r1=239605&r2=239606&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/om/Control.vm (original)
+++ db/torque/templates/trunk/src/templates/om/Control.vm Wed Aug 24 04:34:36 2005
@@ -76,7 +76,7 @@
     Maps generated in package $packageMap
     Managers generated in package $packageManager
     Beans generated in package $packageBean
-    
+
     BasePeers generated in package $packageBasePeer
     BaseObjects generated in package $packageBaseObject
     BaseManagers generated in package $packageBaseManager
@@ -150,7 +150,7 @@
             $generator.parse("om/ExtensionManager.vm",$path,"table",$tbl)
           #end
         #end
-      
+
         #if ($useManagers)
           #set ( $fname = "${basePrefix}${firstcap}.java" )
           #set ( $path = "${strings.getPackageAsPath($packageBaseObject)}$fname" )

Modified: db/torque/templates/trunk/src/templates/om/Object.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/om/Object.vm?rev=239606&r1=239605&r2=239606&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/om/Object.vm (original)
+++ db/torque/templates/trunk/src/templates/om/Object.vm Wed Aug 24 04:34:36 2005
@@ -109,7 +109,7 @@
         #set ($defVal = "= new ${cjtype}((byte) $defaultValue)")
       #elseif ($cjtype == "Short")
         #set ( $quote = '"' )
-        #set ($defVal = "= new Short($quote$defaultValue$quote)")             
+        #set ($defVal = "= new Short($quote$defaultValue$quote)")
       #else
         #if (!$col.isPrimitive() && $cjtype != "String")
           #set ( $defaultValue = "new ${cjtype}($defaultValue)" )
@@ -303,7 +303,7 @@
         #elseif($fktype == "byte")
           #set ($casttype = "(byte)")
         #end
-        #set ($coldefval =  "0") 
+        #set ($coldefval =  "0")
         #set ($coldefval = $column.DefaultValue)
             ${column.SetterName}($casttype $coldefval);
       #else
@@ -339,21 +339,21 @@
     #end
 
     /**
-     * Returns the associated $interfaceName object. 
+     * Returns the associated $interfaceName object.
       #if ($silentDbFetch)
-     * If it was not retrieved before, the object is retrieved from 
+     * If it was not retrieved before, the object is retrieved from
      * the database
-      #end  
+      #end
      *
      * @return the associated $interfaceName object
       #if ($silentDbFetch)
      * @throws TorqueException
-      #end  
+      #end
      */
-    public $interfaceName get${pVarName}() 
+    public $interfaceName get${pVarName}()
       #if ($silentDbFetch)
         throws TorqueException
-      #end  
+      #end
     {
       #if ($silentDbFetch)
         if ($varName == null && ($conditional))
@@ -388,15 +388,15 @@
 
     /**
      * Return the associated $interfaceName object
-     * If it was not retrieved before, the object is retrieved from 
-     * the database using the passed connection 
+     * If it was not retrieved before, the object is retrieved from
+     * the database using the passed connection
      *
      * @param connection the connection used to retrieve the associated object
      *        from the database, if it was not retrieved before
      * @return the associated $interfaceName object
      * @throws TorqueException
      */
-    public $interfaceName get${pVarName}(Connection connection) 
+    public $interfaceName get${pVarName}(Connection connection)
         throws TorqueException
     {
         if ($varName == null && ($conditional))
@@ -595,7 +595,7 @@
     /**
       #if ($objectIsCaching)
         #if (!$silentDbFetch)
-     * returns the Collection.   
+     * returns the Collection.
         #else
      * If this collection has already been initialized, returns
      * the collection. Otherwise returns the results of
@@ -610,7 +610,7 @@
      * @throws TorqueException
       #end
      */
-    public List get${relCol}() 
+    public List get${relCol}()
       #if ($silentDbFetch)
         throws TorqueException
       #end
@@ -676,7 +676,7 @@
                 // the following code is to determine if a new query is
                 // called for.  If the criteria is the same as the last
                 // one, just return the collection.
-      #end  
+      #end
       #foreach ($columnName in $fk.ForeignColumns)
         #set ( $column = $table.getColumn($columnName) )
         #set ( $colFKName = $fk.ForeignLocalMapping.get($columnName) )
@@ -913,9 +913,9 @@
         return ${className}Peer.doSelectJoin${relCol2}(criteria);
             #end
     }
-          #end 
-        #end 
-      #end 
+          #end
+        #end
+      #end
     #end
 
 ## ===========================================================
@@ -980,7 +980,7 @@
         last${relCol}Criteria = criteria;
 
         return $collName;
-   #else 
+   #else
         return ${className}Peer.doSelectJoinAllExcept${table.JavaName}${suffix}(criteria);
    #end
     }
@@ -1052,7 +1052,7 @@
   #end
         return null;
     }
-    
+
     /**
      * Retrieves a field from the object by name passed in
      * as a String.  The String must be one of the static
@@ -1598,7 +1598,7 @@
         #elseif($fktype == "byte")
           #set ($casttype = "(byte)")
         #end
-        #set ($coldefval = "0") 
+        #set ($coldefval = "0")
         #set ($coldefval = $col.DefaultValue)
         copyObj.${col.SetterName}($casttype $coldefval);
       #else
@@ -1643,7 +1643,7 @@
                 copyObj.add$pCollNameNoS(obj.copy());
             }
         }
-        else 
+        else
         {
             copyObj.coll${pCollName} = null;
         }

Modified: db/torque/templates/trunk/src/templates/om/ObjectWithManager.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/om/ObjectWithManager.vm?rev=239606&r1=239605&r2=239606&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/om/ObjectWithManager.vm (original)
+++ db/torque/templates/trunk/src/templates/om/ObjectWithManager.vm Wed Aug 24 04:34:36 2005
@@ -113,7 +113,7 @@
         #set ($defVal = "= new ${cjtype}((byte) $defaultValue)")
       #elseif ($cjtype == "Short")
         #set ( $quote = '"' )
-        #set ($defVal = "= new Short($quote$defaultValue$quote)")             
+        #set ($defVal = "= new Short($quote$defaultValue$quote)")
       #else
         #if (!$col.isPrimitive() && $cjtype != "String")
           #set ( $defaultValue = "new ${cjtype}($defaultValue)" )
@@ -307,7 +307,7 @@
         #elseif($fktype == "byte")
           #set ($casttype = "(byte)")
         #end
-        #set ($coldefval =  "0") 
+        #set ($coldefval =  "0")
         #set ($coldefval = $column.DefaultValue)
             ${column.SetterName}($casttype $coldefval);
       #else
@@ -343,21 +343,21 @@
     #end
 
     /**
-     * Returns the associated $interfaceName object. 
+     * Returns the associated $interfaceName object.
       #if ($silentDbFetch)
-     * If it was not retrieved before, the object is retrieved from 
+     * If it was not retrieved before, the object is retrieved from
      * the database
-      #end  
+      #end
      *
      * @return the associated $interfaceName object
       #if ($silentDbFetch)
      * @throws TorqueException
-      #end  
+      #end
      */
-    public $interfaceName get${pVarName}() 
+    public $interfaceName get${pVarName}()
       #if ($silentDbFetch)
         throws TorqueException
-      #end  
+      #end
     {
       #if ($silentDbFetch)
         if ($varName == null && ($conditional))
@@ -540,7 +540,7 @@
     /**
       #if ($objectIsCaching)
         #if (!$silentDbFetch)
-     * returns the Collection.   
+     * returns the Collection.
         #else
      * If this collection has already been initialized, returns
      * the collection. Otherwise returns the results of
@@ -555,7 +555,7 @@
      * @throws TorqueException
       #end
      */
-    public List get${relCol}() 
+    public List get${relCol}()
       #if ($silentDbFetch)
         throws TorqueException
       #end
@@ -858,9 +858,9 @@
         return ${className}Peer.doSelectJoin${relCol2}(criteria);
             #end
     }
-          #end 
-        #end 
-      #end 
+          #end
+        #end
+      #end
     #end
 
 ## ===========================================================
@@ -925,7 +925,7 @@
         last${relCol}Criteria = criteria;
 
         return $collName;
-    #else 
+    #else
         return ${className}Peer.doSelectJoinAllExcept${table.JavaName}${suffix}(criteria);
     #end
     }
@@ -997,7 +997,7 @@
   #end
         return null;
     }
-    
+
     /**
      * Retrieves a field from the object by name passed in
      * as a String.  The String must be one of the static
@@ -1566,7 +1566,7 @@
         #elseif($fktype == "byte")
           #set ($casttype = "(byte)")
         #end
-        #set ($coldefval = "0") 
+        #set ($coldefval = "0")
         #set ($coldefval = $col.DefaultValue)
         copyObj.${col.SetterName}($casttype $coldefval);
       #else
@@ -1611,7 +1611,7 @@
                 copyObj.add$pCollNameNoS(obj.copy());
             }
         }
-        else 
+        else
         {
             copyObj.coll${pCollName} = null;
         }

Modified: db/torque/templates/trunk/src/templates/om/Peer.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/om/Peer.vm?rev=239606&r1=239605&r2=239606&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/om/Peer.vm (original)
+++ db/torque/templates/trunk/src/templates/om/Peer.vm Wed Aug 24 04:34:36 2005
@@ -643,7 +643,7 @@
         throws TorqueException
      {
         correctBooleans(criteria);
-        
+
         setDbName(criteria);
 
         if (con == null)
@@ -1153,7 +1153,7 @@
     {
 		return doSelectJoin${joinColumnId}(criteria, null);
 	}
-	
+
     /**
      * selects a collection of $className objects pre-filled with their
      * $joinClassName objects.
@@ -1184,13 +1184,13 @@
         #end
 
         correctBooleans(criteria);
-        
+
 		List rows;
 		if( conn == null )
 	        rows = BasePeer.doSelect(criteria);
 	    else
 	    	rows = BasePeer.doSelect(criteria,conn);
-	    	
+
         List results = new ArrayList();
 
         for (int i = 0; i < rows.size(); i++)
@@ -1297,7 +1297,7 @@
     {
     	return doSelectJoinAllExcept${excludeString}(criteria, null);
     }
-    
+
     /**
      * selects a collection of $className objects pre-filled with
      * all related objects.
@@ -1334,12 +1334,12 @@
 
         correctBooleans(criteria);
 
-        List rows; 
+        List rows;
         if( conn == null )
 	        rows = BasePeer.doSelect(criteria);
 	    else
 	    	rows = BasePeer.doSelect(criteria,conn);
-	    	
+
         List results = new ArrayList();
 
         for (int i = 0; i < rows.size(); i++)

Modified: db/torque/templates/trunk/src/templates/om/bean/Bean.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/om/bean/Bean.vm?rev=239606&r1=239605&r2=239606&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/om/bean/Bean.vm (original)
+++ db/torque/templates/trunk/src/templates/om/bean/Bean.vm Wed Aug 24 04:34:36 2005
@@ -47,15 +47,15 @@
     /**
      * whether the bean or its underlying object has changed
      * since last reading from the database
-     */ 
+     */
     private boolean modified = true;
-    
+
     /**
-     * false if the underlying object has been read from the database, 
-     * true otherwise 
-     */ 
+     * false if the underlying object has been read from the database,
+     * true otherwise
+     */
     private boolean isNew = true;
-  
+
 #foreach ($col in $table.Columns)
   #set ( $cjtype = $col.JavaNative )
   #set ( $clo=$col.UncapitalisedJavaName )
@@ -85,7 +85,7 @@
       #set ($defVal = "= new ${cjtype}((byte) $defaultValue)")
     #elseif ($cjtype == "Short")
       #set ( $quote = '"' )
-      #set ($defVal = "= new Short($quote$defaultValue$quote)")             
+      #set ($defVal = "= new Short($quote$defaultValue$quote)")
     #else
       #if (!$col.isPrimitive() && $cjtype != "String")
         #set ( $defaultValue = "new ${cjtype}($defaultValue)" )
@@ -128,7 +128,7 @@
     }
 
     /**
-     * returns whether the bean or the object it was created from 
+     * returns whether the bean or the object it was created from
      * was modified since the object was last read from the database
      */
     public boolean isModified()
@@ -181,7 +181,7 @@
   #set($pVars = [])  ## Array of object set method names for later reference.
   #set($aVars = [])  ## Array of object field names for later reference.
   #foreach ($fk in $table.ForeignKeys)
-  
+
     #set ( $tblFK = $table.Database.getTable($fk.ForeignTableName) )
     #set ( $className = "${tblFK.JavaName}${beanSuffix}" )
 
@@ -224,7 +224,7 @@
         #elseif($fktype == "byte")
           #set ($casttype = "(byte)")
         #end
-        #set ($coldefval =  "0") 
+        #set ($coldefval =  "0")
         #set ($coldefval = $column.DefaultValue)
             ${column.SetterName}($casttype $coldefval);
       #else
@@ -271,8 +271,8 @@
     }
 
   #end
-  
-  
+
+
 ## ---------------------------
   #if ($objectIsCaching)
     #foreach ($fk in $table.Referrers)
@@ -306,17 +306,17 @@
     {
         return $collName;
     }
-    
+
     /**
      * Sets the collection of ${relCol} to the specified value
      */
     public void set${relCol}(List list)
     {
-        if (list == null) 
+        if (list == null)
         {
             $collName = null;
         }
-        else 
+        else
         {
             $collName = new ArrayList(list);
         }

Modified: db/torque/templates/trunk/src/templates/om/bean/ObjectBeanImports.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/om/bean/ObjectBeanImports.vm?rev=239606&r1=239605&r2=239606&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/om/bean/ObjectBeanImports.vm (original)
+++ db/torque/templates/trunk/src/templates/om/bean/ObjectBeanImports.vm Wed Aug 24 04:34:36 2005
@@ -21,7 +21,7 @@
     #set ( $className = "${tblFK.JavaName}" )
 import ${packageBean}.${className}${beanSuffix};
   #end
-    
+
   #if ($objectIsCaching)
     #foreach ($fk in $table.Referrers)
       #set ( $tblFK = $fk.Table )

Modified: db/torque/templates/trunk/src/templates/om/bean/ObjectBeanMethods.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/om/bean/ObjectBeanMethods.vm?rev=239606&r1=239605&r2=239606&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/om/bean/ObjectBeanMethods.vm (original)
+++ db/torque/templates/trunk/src/templates/om/bean/ObjectBeanMethods.vm Wed Aug 24 04:34:36 2005
@@ -18,10 +18,10 @@
   #set ( $beanClassName = "${table.JavaName}${beanSuffix}" )
     /**
      * Creates a $beanClassName with the contents of this object
-  #if ($complexObjectModel) 
+  #if ($complexObjectModel)
      * This also creates beans for cached related objects, if they exist
   #end
-     * @return a $beanClassName with the contents of this object 
+     * @return a $beanClassName with the contents of this object
      */
     public $beanClassName getBean()
     {
@@ -31,9 +31,9 @@
     /**
      * Creates a $beanClassName with the contents of this object
      * intended for internal use only
-     * @param createdBeans a IdentityMap which maps objects 
+     * @param createdBeans a IdentityMap which maps objects
      *        to already created beans
-     * @return a $beanClassName with the contents of this object 
+     * @return a $beanClassName with the contents of this object
      */
     protected $beanClassName getBean(IdentityMap createdBeans)
     {
@@ -50,7 +50,7 @@
         result.${col.SetterName}(${col.GetterName}());
   #end
 
-  #if ($complexObjectModel) 
+  #if ($complexObjectModel)
     ## foreign references to this Object
     #if ($objectIsCaching)
       #foreach ($fk in $table.Referrers)
@@ -75,7 +75,7 @@
           #end
 
           #set ( $collName = "coll$relCol" )
-        if ($collName != null) 
+        if ($collName != null)
         {
             List relatedBeans = new ArrayList(${collName}.size());
             for (Iterator ${collName}It = ${collName}.iterator(); ${collName}It.hasNext(); )
@@ -86,10 +86,10 @@
             }
             result.set${beanRelCol}(relatedBeans);
         }
-        #end 
+        #end
       #end
     #end
-  
+
     ## foreign keys in this object
     #foreach ($fk in $table.ForeignKeys)
 
@@ -111,7 +111,7 @@
       #set ( $beanMethodSuffix = "${relatedBeanClassName}${relCol}" )
       #set ( $objectMethodSuffix = "${relatedClassName}${relCol}" )
       #set ( $varName = "a$relatedClassName$relCol" )
-        if ($varName != null) 
+        if ($varName != null)
         {
             ${relatedBeanClassName} relatedBean = ${varName}.getBean(createdBeans);
             result.set${beanMethodSuffix}(relatedBean);
@@ -128,7 +128,7 @@
      * of a $beanClassName.
      * This behaviour could have also been achieved using a constructor,
      * however as this class is abstract no constructors are allowed
-     * @param bean the $beanClassName which contents are used to create 
+     * @param bean the $beanClassName which contents are used to create
      *        the resulting class
      * @return an instance of ${table.JavaName} with the contents of bean
      */
@@ -143,9 +143,9 @@
      * of a $beanClassName.
      * This behaviour could have also been achieved using a constructor,
      * however as this class is abstract no constructors are allowed
-     * @param bean the $beanClassName which contents are used to create 
+     * @param bean the $beanClassName which contents are used to create
      *        the resulting class
-     * @param createdObjects a IdentityMap which maps beans 
+     * @param createdObjects a IdentityMap which maps beans
      *        to already created objects
      * @return an instance of ${table.JavaName} with the contents of bean
      */
@@ -154,8 +154,8 @@
         throws TorqueException
     {
         ${table.JavaName} result = (${table.JavaName}) createdObjects.get(bean);
-        if (result != null) 
-        {   
+        if (result != null)
+        {
             // we already have an object for the bean, return it
             return result;
         }
@@ -166,7 +166,7 @@
         result.${col.SetterName}(bean.${col.GetterName}());
   #end
 
-  #if ($complexObjectModel)  
+  #if ($complexObjectModel)
     ## foreign references to this Object
     #if ($objectIsCaching)
       #foreach ($fk in $table.Referrers)
@@ -192,7 +192,7 @@
 
         {
             List relatedBeans = bean.get${beanRelCol}();
-            if (relatedBeans != null) 
+            if (relatedBeans != null)
             {
                 for (Iterator relatedBeansIt = relatedBeans.iterator(); relatedBeansIt.hasNext(); )
                 {
@@ -202,7 +202,7 @@
                 }
             }
         }
-        #end 
+        #end
       #end
     #end
 
@@ -241,7 +241,7 @@
   	return result;
     }
 
-  #if ($complexObjectModel)  
+  #if ($complexObjectModel)
     ## foreign references to this Object
     #if ($objectIsCaching)
       #foreach ($fk in $table.Referrers)
@@ -264,7 +264,7 @@
             #set ( $relColMs= "${className}RelatedBy$relatedByCol" )
           #end
           #set ( $collName = "coll$relCol" )
- 
+
     /**
      * Method called to associate a $tblFK.JavaName object to this object.
      * through the $className foreign key attribute

Modified: db/torque/templates/trunk/src/templates/sql/base/Control.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/Control.vm?rev=239606&r1=239605&r2=239606&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/Control.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/Control.vm Wed Aug 24 04:34:36 2005
@@ -19,28 +19,28 @@
 #foreach ($database in $dataModels)
 
   #set ( $platform = $database.Platform )
-  
+
   Platform used: $platform.class.Name
-  
+
   #set ($outFile = "$database.FileName")
   #if (!$outFile.toLowerCase().endsWith('.sql'))
     #set ($outFile = "${outFile}.sql")
   #end
 
   SQL file to be created: $outFile
-  
+
   #foreach ($tbl in $database.tables)
     Primary Key:#if ($tbl.hasPrimaryKey()) Yes #else No #end
     #if (!$tbl.isSkipSql())
       $generator.parse($fname,$outFile,"table",$tbl)
     #end
   #end
-    
+
   #foreach ($tbl in $database.tables)
     #if (!$tbl.isSkipSql())
       $generator.parse($fnamekeys,$outFile,"tablefk",$tbl)
     #end
-  #end    
+  #end
 
   #if ($idmodel)
 
@@ -48,9 +48,9 @@
 
     #set ($tbl = $idmodel.getTable("ID_TABLE"))
     $generator.parse($fname,$outFile,"table",$tbl)
- 
+
     ## Generate inserts into ID-TABLE for initial ids.
-    #set ( $initialID = 1 )  
+    #set ( $initialID = 1 )
     $generator.parse($idname, $outFile, "tables", $database.tables)
 
   #end

Modified: db/torque/templates/trunk/src/templates/sql/base/db2/columns.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/db2/columns.vm?rev=239606&r1=239605&r2=239606&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/db2/columns.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/db2/columns.vm Wed Aug 24 04:34:36 2005
@@ -19,7 +19,7 @@
     #end
     #set ( $rawsize = $col.Size )
     #set ( $torquetype = $col.TorqueType )
-    #set ( $default = $col.DefaultSetting )  
+    #set ( $default = $col.DefaultSetting )
     #if ( $torquetype == "BINARY" )
         #set ( $entry = "$col.Name CHAR($rawsize) FOR BIT DATA $default $col.NotNullString $col.AutoIncrementString," )
     #elseif ( $torquetype == "VARBINARY" )

Modified: db/torque/templates/trunk/src/templates/sql/base/db2/foreignkey.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/db2/foreignkey.vm?rev=239606&r1=239605&r2=239606&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/db2/foreignkey.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/db2/foreignkey.vm Wed Aug 24 04:34:36 2005
@@ -23,7 +23,7 @@
     ON UPDATE $fk.OnUpdate
 #end
 #if ($fk.hasOnDelete())
-    ON DELETE $fk.OnDelete 
-#end    
+    ON DELETE $fk.OnDelete
+#end
 ;
 #end

Modified: db/torque/templates/trunk/src/templates/sql/base/db2400/primarykey.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/db2400/primarykey.vm?rev=239606&r1=239605&r2=239606&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/db2400/primarykey.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/db2400/primarykey.vm Wed Aug 24 04:34:36 2005
@@ -13,6 +13,6 @@
 ## limitations under the License.
 #if ($table.hasPrimaryKey())
 ALTER TABLE $table.Name
-    ADD CONSTRAINT ${table.Name}_PK 
+    ADD CONSTRAINT ${table.Name}_PK
 PRIMARY KEY ($table.printPrimaryKey());
 #end

Modified: db/torque/templates/trunk/src/templates/sql/base/derby/foreignkey.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/derby/foreignkey.vm?rev=239606&r1=239605&r2=239606&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/derby/foreignkey.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/derby/foreignkey.vm Wed Aug 24 04:34:36 2005
@@ -17,7 +17,7 @@
     ON UPDATE $fk.OnUpdate
   #end
   #if ($fk.hasOnDelete())
-    ON DELETE $fk.OnDelete 
+    ON DELETE $fk.OnDelete
   #end
 ,
 #end

Modified: db/torque/templates/trunk/src/templates/sql/base/hypersonic/primarykey.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/hypersonic/primarykey.vm?rev=239606&r1=239605&r2=239606&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/hypersonic/primarykey.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/hypersonic/primarykey.vm Wed Aug 24 04:34:36 2005
@@ -11,6 +11,6 @@
 ## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 ## See the License for the specific language governing permissions and
 ## limitations under the License.
-#if ($table.hasPrimaryKey() && $table.IdMethod != "native")    
+#if ($table.hasPrimaryKey() && $table.IdMethod != "native")
     PRIMARY KEY($table.printPrimaryKey()),
 #end

Modified: db/torque/templates/trunk/src/templates/sql/base/msaccess/primarykey.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/msaccess/primarykey.vm?rev=239606&r1=239605&r2=239606&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/msaccess/primarykey.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/msaccess/primarykey.vm Wed Aug 24 04:34:36 2005
@@ -11,6 +11,6 @@
 ## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 ## See the License for the specific language governing permissions and
 ## limitations under the License.
-#if ($table.hasPrimaryKey())    
+#if ($table.hasPrimaryKey())
     PRIMARY KEY($table.printPrimaryKey()),
 #end

Modified: db/torque/templates/trunk/src/templates/sql/base/mssql/columns.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/mssql/columns.vm?rev=239606&r1=239605&r2=239606&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/mssql/columns.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/mssql/columns.vm Wed Aug 24 04:34:36 2005
@@ -15,7 +15,7 @@
     #set ( $type = $col.Domain.SqlType )
     #if ($type == "INT" || $type == "TEXT")
       #set ( $size = "" )
-    #else   
+    #else
       #set ( $size = $col.printSize() )
     #end
     #set ( $default = $col.DefaultSetting )

Modified: db/torque/templates/trunk/src/templates/sql/base/mssql/foreignkey.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/mssql/foreignkey.vm?rev=239606&r1=239605&r2=239606&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/mssql/foreignkey.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/mssql/foreignkey.vm Wed Aug 24 04:34:36 2005
@@ -20,9 +20,9 @@
     ON UPDATE $fk.OnUpdate
 #end
 #if ($fk.hasOnDelete())
-    ON DELETE $fk.OnDelete 
+    ON DELETE $fk.OnDelete
 #end
-END    
+END
 ;
 
 #end

Modified: db/torque/templates/trunk/src/templates/sql/base/mysql/foreignkey.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/mysql/foreignkey.vm?rev=239606&r1=239605&r2=239606&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/mysql/foreignkey.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/mysql/foreignkey.vm Wed Aug 24 04:34:36 2005
@@ -17,7 +17,7 @@
     ON UPDATE $fk.OnUpdate
   #end
   #if ($fk.hasOnDelete())
-    ON DELETE $fk.OnDelete 
+    ON DELETE $fk.OnDelete
   #end
 ,
 #end

Modified: db/torque/templates/trunk/src/templates/sql/base/mysql/primarykey.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/mysql/primarykey.vm?rev=239606&r1=239605&r2=239606&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/mysql/primarykey.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/mysql/primarykey.vm Wed Aug 24 04:34:36 2005
@@ -11,6 +11,6 @@
 ## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 ## See the License for the specific language governing permissions and
 ## limitations under the License.
-#if ($table.hasPrimaryKey())    
+#if ($table.hasPrimaryKey())
     PRIMARY KEY($table.printPrimaryKey()),
 #end

Modified: db/torque/templates/trunk/src/templates/sql/base/mysql/tablefk.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/mysql/tablefk.vm?rev=239606&r1=239605&r2=239606&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/mysql/tablefk.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/mysql/tablefk.vm Wed Aug 24 04:34:36 2005
@@ -11,4 +11,4 @@
 ## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 ## See the License for the specific language governing permissions and
 ## limitations under the License.
-  
+

Modified: db/torque/templates/trunk/src/templates/sql/base/postgresql/foreignkey.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/postgresql/foreignkey.vm?rev=239606&r1=239605&r2=239606&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/postgresql/foreignkey.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/postgresql/foreignkey.vm Wed Aug 24 04:34:36 2005
@@ -26,7 +26,7 @@
     ON UPDATE $fk.OnUpdate
 #end
 #if ($fk.hasOnDelete())
-    ON DELETE $fk.OnDelete 
+    ON DELETE $fk.OnDelete
 #end
 ;
 #end

Modified: db/torque/templates/trunk/src/templates/sql/base/postgresql/tablefk.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/postgresql/tablefk.vm?rev=239606&r1=239605&r2=239606&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/postgresql/tablefk.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/postgresql/tablefk.vm Wed Aug 24 04:34:36 2005
@@ -13,7 +13,7 @@
 ## limitations under the License.
 
 ----------------------------------------------------------------------
--- $table.Name                                                      
+-- $table.Name
 ----------------------------------------------------------------------
 
 #set ( $fk = $generator.parse("$basepath/foreignkey.vm", "", "table", $tbl) )

Modified: db/torque/templates/trunk/src/templates/sql/base/sybase/columns.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/sybase/columns.vm?rev=239606&r1=239605&r2=239606&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/sybase/columns.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/sybase/columns.vm Wed Aug 24 04:34:36 2005
@@ -15,7 +15,7 @@
     #set ( $type = $col.Domain.SqlType )
     #if ($type == "INT" || $type == "TEXT")
       #set ( $size = "" )
-    #else   
+    #else
       #set ( $size = $col.printSize() )
     #end
     #set ( $entry = "$col.Name $type $size $col.DefaultSetting $col.NotNullString $col.AutoIncrementString," )

Modified: db/torque/templates/trunk/src/templates/sql/base/sybase/foreignkey.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/sybase/foreignkey.vm?rev=239606&r1=239605&r2=239606&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/sybase/foreignkey.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/sybase/foreignkey.vm Wed Aug 24 04:34:36 2005
@@ -16,7 +16,7 @@
 ALTER TABLE $table.Name
     ADD CONSTRAINT $fk.Name FOREIGN KEY ($fk.LocalColumnNames)
     REFERENCES $fk.ForeignTableName ($fk.ForeignColumnNames)
-END    
+END
 ;
 
 #end

Modified: db/torque/templates/trunk/src/templates/sql/db-init/Control.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/db-init/Control.vm?rev=239606&r1=239605&r2=239606&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/db-init/Control.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/db-init/Control.vm Wed Aug 24 04:34:36 2005
@@ -12,4 +12,4 @@
 ## See the License for the specific language governing permissions and
 ## limitations under the License.
 #set ( $fname = "sql/db-init/$targetDatabase/createdb.vm" )
-$generator.parse($fname,"") 
+$generator.parse($fname,"")

Modified: db/torque/templates/trunk/src/templates/sql/load/axion/row.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/load/axion/row.vm?rev=239606&r1=239605&r2=239606&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/load/axion/row.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/load/axion/row.vm Wed Aug 24 04:34:36 2005
@@ -14,4 +14,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/hypersonic/val.vm", "", "column", $col)}#set ($comma=",")#end);
-    
+

Modified: db/torque/templates/trunk/src/templates/sql/load/derby/row.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/load/derby/row.vm?rev=239606&r1=239605&r2=239606&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/load/derby/row.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/load/derby/row.vm Wed Aug 24 04:34:36 2005
@@ -14,4 +14,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/derby/val.vm", "", "column", $col)}#set ($comma=",")#end);
-    
+

Modified: db/torque/templates/trunk/src/templates/sql/load/hypersonic/row.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/load/hypersonic/row.vm?rev=239606&r1=239605&r2=239606&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/load/hypersonic/row.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/load/hypersonic/row.vm Wed Aug 24 04:34:36 2005
@@ -14,4 +14,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/hypersonic/val.vm", "", "column", $col)}#set ($comma=",")#end);
-    
+

Modified: db/torque/templates/trunk/src/templates/sql/load/mssql/row.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/load/mssql/row.vm?rev=239606&r1=239605&r2=239606&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/load/mssql/row.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/load/mssql/row.vm Wed Aug 24 04:34:36 2005
@@ -14,4 +14,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/mssql/val.vm", "", "column", $col)}#set ($comma=",")#end);
-    
+

Modified: db/torque/templates/trunk/src/templates/sql/load/postgresql/row.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/load/postgresql/row.vm?rev=239606&r1=239605&r2=239606&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/load/postgresql/row.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/load/postgresql/row.vm Wed Aug 24 04:34:36 2005
@@ -14,4 +14,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/postgresql/val.vm", "", "column", $col)}#set ($comma=",")#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