db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henn...@apache.org
Subject svn commit: r239605 [2/4] - in /db/torque/templates/trunk: ./ src/templates/data/ src/templates/data/dump/ src/templates/doc/ src/templates/doc/anakia/ src/templates/doc/html/ src/templates/ojb/model/ src/templates/ojb/model_broken/ src/templates/ojb/r...
Date Wed, 24 Aug 2005 11:32:41 GMT
Modified: db/torque/templates/trunk/src/templates/sql/base/cloudscape/table.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/cloudscape/table.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/cloudscape/table.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/cloudscape/table.vm Wed Aug 24 04:30:39 2005
@@ -1,18 +1,31 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 
 -----------------------------------------------------------------------------
 -- $table.Name
 -----------------------------------------------------------------------------
-##$generator.parse("$basepath/drop.vm", "", "table", $tbl)
+## $generator.parse("$basepath/drop.vm", "", "table", $tbl)
 CREATE TABLE $table.Name
 (
 #set ( $cols = $generator.parse("$basepath/columns.vm", "", "table", $tbl) )
 #set ( $pk = $generator.parse("$basepath/primarykey.vm", "", "table", $tbl) )
-##set ( $fk = $generator.parse("$basepath/foreignkey.vm", "", "table", $tbl) )
+## set ( $fk = $generator.parse("$basepath/foreignkey.vm", "", "table", $tbl) )
 #set ( $unique = $generator.parse("$basepath/unique.vm", "", "table", $tbl) )
 #set ( $index = $generator.parse("$basepath/index.vm", "", "table", $tbl) )
 #if($strings.allEmpty([$pk,$unique]))$strings.chop($cols,1)#else$cols#end
 #if($strings.allEmpty([$unique]) && $pk.length()>0)$strings.chop($pk,2)#else$pk#end
-##if($strings.allEmpty([$unique,$index]) && $fk.length() >0)$strings.chop($fk,2)#else$fk#end
+## if($strings.allEmpty([$unique,$index]) && $fk.length() >0)$strings.chop($fk,2)#else$fk#end
 #if($unique.length()>0)$strings.chop($unique,2)#else$unique#end
 
 );

Modified: db/torque/templates/trunk/src/templates/sql/base/cloudscape/tablefk.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/cloudscape/tablefk.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/cloudscape/tablefk.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/cloudscape/tablefk.vm Wed Aug 24 04:30:39 2005
@@ -0,0 +1,13 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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/cloudscape/unique.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/cloudscape/unique.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/cloudscape/unique.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/cloudscape/unique.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 #foreach ($unique in $table.Unices)
     UNIQUE ($unique.ColumnList),
 #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=239605&r1=239604&r2=239605&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:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 #foreach ($col in $table.Columns)
     #set ( $type = $col.Domain.SqlType )
     #set ( $size = $col.printSize() )

Modified: db/torque/templates/trunk/src/templates/sql/base/db2/comment.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/db2/comment.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/db2/comment.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/db2/comment.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.description.length() > 0)
 COMMENT ON TABLE $table.Name IS '$table.description';
 #end
@@ -6,4 +19,4 @@
 #if ($col.description.length() > 0)
 COMMENT ON COLUMN ${col.tableName}.${col.name} IS '$col.description';
 #end
-#end
\ No newline at end of file
+#end

Modified: db/torque/templates/trunk/src/templates/sql/base/db2/drop.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/db2/drop.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/db2/drop.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/db2/drop.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 drop table $table.Name;
 #set ($seqName = "~~novalue~~")
 #set ($seqName = $table.SequenceName)

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=239605&r1=239604&r2=239605&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:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 
 -----------------------------------------------------------------------------
 -- $table.Name: FOREIGN KEYS

Modified: db/torque/templates/trunk/src/templates/sql/base/db2/index.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/db2/index.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/db2/index.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/db2/index.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 #foreach ($index in $table.Indices)
 CREATE #if($index.Unique)UNIQUE#end INDEX $index.Name ON $table.Name ($index.ColumnList);
 #end

Modified: db/torque/templates/trunk/src/templates/sql/base/db2/primarykey.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/db2/primarykey.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/db2/primarykey.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/db2/primarykey.vm Wed Aug 24 04:30:39 2005
@@ -1,4 +1,17 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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())
 ALTER TABLE $table.Name
     ADD PRIMARY KEY ($table.printPrimaryKey());
-#end
\ No newline at end of file
+#end

Modified: db/torque/templates/trunk/src/templates/sql/base/db2/sequence.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/db2/sequence.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/db2/sequence.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/db2/sequence.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.IdMethod == "native")
 CREATE SEQUENCE $table.SequenceName;
 #end

Modified: db/torque/templates/trunk/src/templates/sql/base/db2/table.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/db2/table.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/db2/table.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/db2/table.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 
 -----------------------------------------------------------------------------
 -- $table.Name
@@ -15,13 +28,13 @@
 #set ( $pk = $generator.parse("$basepath/primarykey.vm", "", "table", $tbl) )
 #if($pk.length()>0)$pk#end
 
-##set ( $fk = $generator.parse("$basepath/foreignkey.vm", "", "table", $tbl) )
-##if ($fk.length()>0)$fk#end
+## set ( $fk = $generator.parse("$basepath/foreignkey.vm", "", "table", $tbl) )
+## if ($fk.length()>0)$fk#end
 
 #set ( $index = $generator.parse("$basepath/index.vm", "", "table", $tbl) )
 #if($index.length() > 0)$index#end
 
-##set $sequence = $generator.parse("$basepath/sequence.vm", "", "table", $tbl)
-##if ($sequence.length()>0)$sequence#end
+## set $sequence = $generator.parse("$basepath/sequence.vm", "", "table", $tbl)
+## if ($sequence.length()>0)$sequence#end
 
 $generator.parse("$basepath/comment.vm", "", "table", $tbl)

Modified: db/torque/templates/trunk/src/templates/sql/base/db2/tablefk.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/db2/tablefk.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/db2/tablefk.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/db2/tablefk.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 #set ( $fk = $generator.parse("$basepath/foreignkey.vm", "", "table", $tbl) )
 #if ($fk.length()>0)$fk#end
 

Modified: db/torque/templates/trunk/src/templates/sql/base/db2/unique.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/db2/unique.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/db2/unique.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/db2/unique.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 #foreach ($unique in $table.Unices)
     UNIQUE ($unique.ColumnList),
 #end

Modified: db/torque/templates/trunk/src/templates/sql/base/db2400/columns.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/db2400/columns.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/db2400/columns.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/db2400/columns.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 #foreach ($col in $table.Columns)
     #set ( $type = $col.Domain.SqlType )
     #set ( $size = $col.printSize() )

Modified: db/torque/templates/trunk/src/templates/sql/base/db2400/drop.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/db2400/drop.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/db2400/drop.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/db2400/drop.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 drop table $table.Name;
 #*
 

Modified: db/torque/templates/trunk/src/templates/sql/base/db2400/foreignkey.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/db2400/foreignkey.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/db2400/foreignkey.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/db2400/foreignkey.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 #foreach ($fk in $table.ForeignKeys)
 ALTER TABLE $table.Name
     ADD CONSTRAINT ${table.Name}_FK_${velocityCount} FOREIGN KEY ($fk.LocalColumnNames)

Modified: db/torque/templates/trunk/src/templates/sql/base/db2400/index.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/db2400/index.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/db2400/index.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/db2400/index.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 #foreach ($index in $table.Indices)
 CREATE #if($index.IsUnique)UNIQUE#end INDEX $index.Name ON $table.Name ($index.ColumnList);
 #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=239605&r1=239604&r2=239605&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:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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())
 ALTER TABLE $table.Name
     ADD CONSTRAINT ${table.Name}_PK 

Modified: db/torque/templates/trunk/src/templates/sql/base/db2400/sequence.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/db2400/sequence.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/db2400/sequence.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/db2400/sequence.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.IdMethod == "sequence")
 CREATE SEQUENCE $table.SequenceName;
 #end

Modified: db/torque/templates/trunk/src/templates/sql/base/db2400/table.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/db2400/table.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/db2400/table.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/db2400/table.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 
 -----------------------------------------------------------------------------
 -- $table.Name
@@ -21,6 +34,6 @@
 #set ( $index = $generator.parse("$basepath/index.vm", "", "table", $tbl) )
 #if($index.length() > 0)$index#end
 
-##set $sequence = $generator.parse("$basepath/sequence.vm", "", "table", $tbl)
-##if ($sequence.length()>0)$sequence#end
+## set $sequence = $generator.parse("$basepath/sequence.vm", "", "table", $tbl)
+## if ($sequence.length()>0)$sequence#end
 

Modified: db/torque/templates/trunk/src/templates/sql/base/db2400/tablefk.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/db2400/tablefk.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/db2400/tablefk.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/db2400/tablefk.vm Wed Aug 24 04:30:39 2005
@@ -0,0 +1,13 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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/db2400/unique.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/db2400/unique.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/db2400/unique.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/db2400/unique.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 #foreach ($unique in $table.Unices)
     UNIQUE ($unique.ColumnList),
 #end

Modified: db/torque/templates/trunk/src/templates/sql/base/derby/columns.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/derby/columns.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/derby/columns.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/derby/columns.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 #foreach ($col in $table.Columns)
     #set ( $entry = "$col.SqlString," )
     $strings.sub($strings.collapseSpaces($entry)," ,",",")

Modified: db/torque/templates/trunk/src/templates/sql/base/derby/drop.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/derby/drop.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/derby/drop.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/derby/drop.vm Wed Aug 24 04:30:39 2005
@@ -1 +1,14 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 drop table $table.Name;

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=239605&r1=239604&r2=239605&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:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 #foreach ($fk in $table.ForeignKeys)
     FOREIGN KEY ($fk.LocalColumnNames) REFERENCES $fk.ForeignTableName ($fk.ForeignColumnNames)
   #if ($fk.hasOnUpdate())

Modified: db/torque/templates/trunk/src/templates/sql/base/derby/index.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/derby/index.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/derby/index.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/derby/index.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 #foreach ($index in $table.Indices)
 CREATE #if($index.Unique)UNIQUE#end INDEX $index.Name ON $table.Name ($index.ColumnList);
 #end

Modified: db/torque/templates/trunk/src/templates/sql/base/derby/primarykey.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/derby/primarykey.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/derby/primarykey.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/derby/primarykey.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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())
     PRIMARY KEY($table.printPrimaryKey()),
 #end

Modified: db/torque/templates/trunk/src/templates/sql/base/derby/table.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/derby/table.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/derby/table.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/derby/table.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 -----------------------------------------------------------------------------
 -- $table.Name
 -----------------------------------------------------------------------------

Modified: db/torque/templates/trunk/src/templates/sql/base/derby/tablefk.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/derby/tablefk.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/derby/tablefk.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/derby/tablefk.vm Wed Aug 24 04:30:39 2005
@@ -0,0 +1,13 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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/derby/unique.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/derby/unique.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/derby/unique.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/derby/unique.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 #foreach ($unique in $table.Unices)
     UNIQUE ($unique.ColumnList),
 #end

Modified: db/torque/templates/trunk/src/templates/sql/base/hypersonic/columns.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/hypersonic/columns.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/hypersonic/columns.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/hypersonic/columns.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 #foreach ($col in $table.Columns)
     #set ( $type = $col.Domain.SqlType )
     #set ( $size = $col.printSize() )

Modified: db/torque/templates/trunk/src/templates/sql/base/hypersonic/drop.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/hypersonic/drop.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/hypersonic/drop.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/hypersonic/drop.vm Wed Aug 24 04:30:39 2005
@@ -1 +1,14 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 drop table $table.Name if exists;

Modified: db/torque/templates/trunk/src/templates/sql/base/hypersonic/foreignkey.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/hypersonic/foreignkey.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/hypersonic/foreignkey.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/hypersonic/foreignkey.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 #foreach ($fk in $table.ForeignKeys)
     ALTER TABLE $table.Name
         ADD CONSTRAINT $fk.Name FOREIGN KEY ($fk.LocalColumnNames)

Modified: db/torque/templates/trunk/src/templates/sql/base/hypersonic/index.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/hypersonic/index.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/hypersonic/index.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/hypersonic/index.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 #foreach ($index in $table.Indices)
 CREATE #if($index.Unique)UNIQUE#end INDEX $index.Name ON $table.Name ($index.ColumnList);
 #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=239605&r1=239604&r2=239605&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:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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")    
     PRIMARY KEY($table.printPrimaryKey()),
 #end

Modified: db/torque/templates/trunk/src/templates/sql/base/hypersonic/table.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/hypersonic/table.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/hypersonic/table.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/hypersonic/table.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 
 -----------------------------------------------------------------------------
 -- $table.Name
@@ -7,12 +20,12 @@
 (
 #set ( $cols = $generator.parse("$basepath/columns.vm", "", "table", $tbl) )
 #set ( $pk = $generator.parse("$basepath/primarykey.vm", "", "table", $tbl) )
-##set ( $fk = $generator.parse("$basepath/foreignkey.vm", "", "table", $tbl) )
+## set ( $fk = $generator.parse("$basepath/foreignkey.vm", "", "table", $tbl) )
 #set ( $unique = $generator.parse("$basepath/unique.vm", "", "table", $tbl) )
 #set ( $index = $generator.parse("$basepath/index.vm", "", "table", $tbl) )
 #if($strings.allEmpty([$pk,$fk,$unique]))$strings.chop($cols,2)#else$cols#end
 #if($strings.allEmpty([$fk,$unique]) && $pk.length()>0)$strings.chop($pk,2)#else$pk#end
-##if($strings.allEmpty([$unique,$index]) && $fk.length() >0)$strings.chop($fk,2)#else$fk#end
+## if($strings.allEmpty([$unique,$index]) && $fk.length() >0)$strings.chop($fk,2)#else$fk#end
 #if($unique.length()>0)$strings.chop($unique,2)#else$unique#end
 
 );

Modified: db/torque/templates/trunk/src/templates/sql/base/hypersonic/tablefk.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/hypersonic/tablefk.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/hypersonic/tablefk.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/hypersonic/tablefk.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 #set ( $fk = $generator.parse("$basepath/foreignkey.vm", "", "table", $tbl) )
 #if ($fk.length()>0)$fk#end
 

Modified: db/torque/templates/trunk/src/templates/sql/base/hypersonic/unique.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/hypersonic/unique.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/hypersonic/unique.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/hypersonic/unique.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 #foreach ($unique in $table.Unices)
     UNIQUE ($unique.ColumnList),
 #end

Modified: db/torque/templates/trunk/src/templates/sql/base/interbase/columns.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/interbase/columns.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/interbase/columns.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/interbase/columns.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 #foreach ($col in $table.Columns)
     #set ( $type = $col.Domain.SqlType )
     #set ( $size = $col.printSize() )

Modified: db/torque/templates/trunk/src/templates/sql/base/interbase/drop.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/interbase/drop.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/interbase/drop.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/interbase/drop.vm Wed Aug 24 04:30:39 2005
@@ -1 +1,14 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 drop table $table.Name;

Modified: db/torque/templates/trunk/src/templates/sql/base/interbase/foreignkey.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/interbase/foreignkey.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/interbase/foreignkey.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/interbase/foreignkey.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 #foreach ($fk in $table.ForeignKeys)
     FOREIGN KEY ($fk.LocalColumnNames) REFERENCES $fk.ForeignTableName ($fk.ForeignColumnNames),
 #end

Modified: db/torque/templates/trunk/src/templates/sql/base/interbase/index.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/interbase/index.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/interbase/index.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/interbase/index.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 #foreach ($index in $table.Indices)
 CREATE #if($index.Unique)UNIQUE#end INDEX $index.Name ON $table.Name ($index.ColumnList);
 #end

Modified: db/torque/templates/trunk/src/templates/sql/base/interbase/primarykey.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/interbase/primarykey.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/interbase/primarykey.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/interbase/primarykey.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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())
     PRIMARY KEY($table.printPrimaryKey()),
-#end
\ No newline at end of file
+#end

Modified: db/torque/templates/trunk/src/templates/sql/base/interbase/table.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/interbase/table.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/interbase/table.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/interbase/table.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 
 --------------------------------------------------------------------------
 -- $table.Name
@@ -7,12 +20,12 @@
 (
 #set ( $cols = $generator.parse("$basepath/columns.vm", "", "table", $tbl) )
 #set ( $pk = $generator.parse("$basepath/primarykey.vm", "", "table", $tbl) )
-##set ( $fk = $generator.parse("$basepath/foreignkey.vm", "", "table", $tbl) )
+## set ( $fk = $generator.parse("$basepath/foreignkey.vm", "", "table", $tbl) )
 #set ( $unique = $generator.parse("$basepath/unique.vm", "", "table", $tbl) )
 #set ( $index = $generator.parse("$basepath/index.vm", "", "table", $tbl) )
 #if($strings.allEmpty([$pk,$unique]))$strings.chop($cols,1)#else$cols#end
 #if($strings.allEmpty([$unique]) && $pk.length()>0)$strings.chop($pk,2)#else$pk#end
-##if($strings.allEmpty([$unique,$index]) && $fk.length() >0)$strings.chop($fk,2)#else$fk#end
+## if($strings.allEmpty([$unique,$index]) && $fk.length() >0)$strings.chop($fk,2)#else$fk#end
 #if($unique.length()>0)$strings.chop($unique,2)#else$unique#end
 
 );

Modified: db/torque/templates/trunk/src/templates/sql/base/interbase/tablefk.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/interbase/tablefk.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/interbase/tablefk.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/interbase/tablefk.vm Wed Aug 24 04:30:39 2005
@@ -0,0 +1,13 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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/interbase/unique.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/interbase/unique.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/interbase/unique.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/interbase/unique.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 #foreach ($unique in $table.Unices)
     UNIQUE ($unique.ColumnList),
 #end

Modified: db/torque/templates/trunk/src/templates/sql/base/msaccess/columns.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/msaccess/columns.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/msaccess/columns.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/msaccess/columns.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 #foreach ($col in $table.Columns)
     #set ( $type = $col.Domain.SqlType )
     #set ( $size = $col.printSize() )

Modified: db/torque/templates/trunk/src/templates/sql/base/msaccess/comment.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/msaccess/comment.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/msaccess/comment.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/msaccess/comment.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.description.length() > 0)
 addtbllabl T=$table.Name L="$table.description";
 #end
@@ -6,4 +19,4 @@
 #if ($col.description.length() > 0)
 addcollabl T=${col.tableName} C=${col.name} L="$col.description";
 #end
-#end
\ No newline at end of file
+#end

Modified: db/torque/templates/trunk/src/templates/sql/base/msaccess/drop.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/msaccess/drop.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/msaccess/drop.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/msaccess/drop.vm Wed Aug 24 04:30:39 2005
@@ -1 +1,14 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 drop table $table.Name;

Modified: db/torque/templates/trunk/src/templates/sql/base/msaccess/foreignkey.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/msaccess/foreignkey.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/msaccess/foreignkey.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/msaccess/foreignkey.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 #foreach ($fk in $table.ForeignKeys)
     FOREIGN KEY ($fk.LocalColumnNames) REFERENCES $fk.ForeignTableName ($fk.ForeignColumnNames),
 #end

Modified: db/torque/templates/trunk/src/templates/sql/base/msaccess/index.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/msaccess/index.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/msaccess/index.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/msaccess/index.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 #foreach ($index in $table.Indices)
 CREATE #if($index.Unique)UNIQUE#end INDEX $index.Name ON $table.Name ($index.ColumnList);
 #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=239605&r1=239604&r2=239605&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:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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())    
     PRIMARY KEY($table.printPrimaryKey()),
 #end

Modified: db/torque/templates/trunk/src/templates/sql/base/msaccess/table.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/msaccess/table.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/msaccess/table.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/msaccess/table.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 
 -----------------------------------------------------------------------------
 -- $table.Name
@@ -7,12 +20,12 @@
 (
 #set ( $cols = $generator.parse("$basepath/columns.vm", "", "table", $tbl) )
 #set ( $pk = $generator.parse("$basepath/primarykey.vm", "", "table", $tbl) )
-##set ( $fk = $generator.parse("$basepath/foreignkey.vm", "", "table", $tbl) )
+## set ( $fk = $generator.parse("$basepath/foreignkey.vm", "", "table", $tbl) )
 #set ( $unique = $generator.parse("$basepath/unique.vm", "", "table", $tbl) )
 #set ( $index = $generator.parse("$basepath/index.vm", "", "table", $tbl) )
 #if($strings.allEmpty([$pk,$fk,$unique,$index]))$strings.chop($cols,2)#else$cols#end
 #if($strings.allEmpty([$fk,$unique,$index]) && $pk.length()>0)$strings.chop($pk,2)#else$pk#end
-##if($strings.allEmpty([$unique,$index]) && $fk.length() >0)$strings.chop($fk,2)#else$fk#end
+## if($strings.allEmpty([$unique,$index]) && $fk.length() >0)$strings.chop($fk,2)#else$fk#end
 #if($unique.length()>0)$strings.chop($unique,2)#else$unique#end
 
 );

Modified: db/torque/templates/trunk/src/templates/sql/base/msaccess/tablefk.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/msaccess/tablefk.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/msaccess/tablefk.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/msaccess/tablefk.vm Wed Aug 24 04:30:39 2005
@@ -0,0 +1,13 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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/msaccess/unique.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/msaccess/unique.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/msaccess/unique.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/msaccess/unique.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 #foreach ($unique in $table.Unices)
     UNIQUE ($unique.ColumnList),
 #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=239605&r1=239604&r2=239605&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:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 #foreach ($col in $table.Columns)
     #set ( $type = $col.Domain.SqlType )
     #if ($type == "INT" || $type == "TEXT")

Modified: db/torque/templates/trunk/src/templates/sql/base/mssql/drop.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/mssql/drop.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/mssql/drop.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/mssql/drop.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 #foreach ($fk in $table.ForeignKeys)
 IF EXISTS (SELECT 1 FROM sysobjects WHERE type ='RI' AND name='$fk.Name')
     ALTER TABLE $table.Name DROP CONSTRAINT $fk.Name;

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=239605&r1=239604&r2=239605&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:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 #foreach ($fk in $table.ForeignKeys)
 BEGIN
 ALTER TABLE $table.Name

Modified: db/torque/templates/trunk/src/templates/sql/base/mssql/index.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/mssql/index.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/mssql/index.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/mssql/index.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 #foreach ($index in $table.Indices)
 CREATE #if($index.Unique)UNIQUE#end INDEX $index.Name ON $table.Name ($index.ColumnList);
 #end

Modified: db/torque/templates/trunk/src/templates/sql/base/mssql/primarykey.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/mssql/primarykey.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/mssql/primarykey.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/mssql/primarykey.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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())
     CONSTRAINT ${table.Name}_PK PRIMARY KEY($table.printPrimaryKey()),
 #end

Modified: db/torque/templates/trunk/src/templates/sql/base/mssql/table.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/mssql/table.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/mssql/table.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/mssql/table.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 
 /* ---------------------------------------------------------------------- */
 /* $table.Name                                                      */

Modified: db/torque/templates/trunk/src/templates/sql/base/mssql/tablefk.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/mssql/tablefk.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/mssql/tablefk.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/mssql/tablefk.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 
 /* ---------------------------------------------------------------------- */
 /* $table.Name                                                      */

Modified: db/torque/templates/trunk/src/templates/sql/base/mssql/unique.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/mssql/unique.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/mssql/unique.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/mssql/unique.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 #foreach ($unique in $table.Unices)
     UNIQUE ($unique.ColumnList),
 #end

Modified: db/torque/templates/trunk/src/templates/sql/base/mysql/columns.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/mysql/columns.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/mysql/columns.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/mysql/columns.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 #foreach ($col in $table.Columns)
     #set ( $entry = "$col.SqlString," )
     $strings.sub($strings.collapseSpaces($entry)," ,",",")

Modified: db/torque/templates/trunk/src/templates/sql/base/mysql/drop.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/mysql/drop.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/mysql/drop.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/mysql/drop.vm Wed Aug 24 04:30:39 2005
@@ -1 +1,14 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 drop table if exists $table.Name;

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=239605&r1=239604&r2=239605&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:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 #foreach ($fk in $table.ForeignKeys)
     FOREIGN KEY ($fk.LocalColumnNames) REFERENCES $fk.ForeignTableName ($fk.ForeignColumnNames)
   #if ($fk.hasOnUpdate())

Modified: db/torque/templates/trunk/src/templates/sql/base/mysql/index.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/mysql/index.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/mysql/index.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/mysql/index.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 #foreach ($index in $table.Indices)
     INDEX $index.Name ($index.ColumnList),
 #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=239605&r1=239604&r2=239605&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:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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())    
     PRIMARY KEY($table.printPrimaryKey()),
 #end

Modified: db/torque/templates/trunk/src/templates/sql/base/mysql/table.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/sql/base/mysql/table.vm?rev=239605&r1=239604&r2=239605&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/base/mysql/table.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/base/mysql/table.vm Wed Aug 24 04:30:39 2005
@@ -1,3 +1,16 @@
+## Copyright 2001-2005 The Apache Software Foundation.
+##
+## Licensed under the Apache License, Version 2.0 (the "License")
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## 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.
 
 # -----------------------------------------------------------------------
 # $table.Name



---------------------------------------------------------------------
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