db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bogdan Vatkov" <bvat...@globaltech-bg.com>
Subject javaType="object" template problem ?
Date Mon, 26 Jan 2004 10:17:26 GMT

Hi all,

I have problems with javaType="object" when Integer type is used

As I see.. in template  torque-gen-3.1\templates\om\Object.vm

at line 108:

  ## getter and setter methods
  #foreach ($col in $table.Columns)
    #set ( $cfc=$col.JavaName )
    #set ( $clo=$col.UncapitalisedJavaName )
    #set ( $cjtype = $col.JavaNative )
... 

code says that no matter of what javaType=? is we will have always JavaNative 
...in my build it is always results in a primitive type (int) ...therefore a lot of errors
occur in the generated java source code

Am I doing something wrong ? Or this is bug in the template ?

With best regards,
Bogdan

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message