Hi Zsombor

Zsombor Gegesy wrote:
> Hello ,
> 
> 1, Probably just because i use wincvs, and wincvs convert Unix LF (0xa)
> to Windows LF (0xd 0xa), and so in the src/templates/sql/base/*/table.vm

I'm puzzled! afaik there is no directory src/templates! Maybe you 
checked out some old stuff?


> template $strings.chop(..,2) commands generates bad sql statements.
>  I think the templates should contains, something like this:
> 
> $cols #if(!$strings.allEmpty([$pk,$unique])) , #end
> 
> instead of :
> 
> #if($strings.allEmpty([$pk,$unique]))$strings.chop($cols,2)#else$cols#end
>  
> Probably it's easyer to understand, and it's more portable.
> 
> 2, There is a missing line from templates/sql/base/mysql/db.props,
> something like:
>  idMethod=autoincrement
> However i'm not fully aware of the severity of this bug, because i
> noticed just when i was looking through the velocity.log file.
> 

I see! this looks like some velocity / torque related problem. SO this 
should be addressed to the velocity list.

cheers,
Thomas

> Best regards,
>  Zsombor
> 
> ps. by the way, has anybody looked into my patch? :) (that was an
>  alternative way for iterating through a long result set)
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 
> 
> 



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

Reply via email to