Dave Polito wrote:
> 
> Fixed the Oracle foreign key creation order. I moved the foreign key
> creation to the tablefk.vm file, and removed it from table.vm.

Can you please send this to me as an attachment, I had a bit of
problem with your last patch.

I will get your patches into Turbine tonight.

Do you think you could try out a TDK with SapDB? This
is a great addition, thanks a bunch!

> 
> Dave Polito
> 
> Index: table.vm
> ===================================================================
> RCS file:
> /home/cvspublic/jakarta-turbine/conf/torque/templates/sql/base/oracle/table.
> vm,v
> retrieving revision 1.4
> diff -u -r1.4 table.vm
> --- table.vm    2001/02/27 16:37:42     1.4
> +++ table.vm    2001/05/23 16:42:55
> @@ -15,9 +15,6 @@
>  #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 ( $index = $generator.parse("$basepath/index.vm", "", "table", $tbl) )
>  #if($index.length() > 0)$index#end
> 
> Index: tablefk.vm
> ===================================================================
> RCS file:
> /home/cvspublic/jakarta-turbine/conf/torque/templates/sql/base/oracle/tablef
> k.vm,v
> retrieving revision 1.1
> diff -u -r1.1 tablefk.vm
> --- tablefk.vm  2001/04/24 23:18:36     1.1
> +++ tablefk.vm  2001/05/23 16:43:25
> @@ -0,0 +1,3 @@
> +#set ( $fk = $generator.parse("$basepath/foreignkey.vm", "", "table", $tbl)
> )
> +#if ($fk.length()>0)$fk#end
> +

-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]

http://jakarta.apache.org/velocity
http://jakarta.apache.org/turbine
http://jakarta.apache.org/commons
http://tambora.zenplex.org

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to