db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Andreou <andy...@di.uoa.gr>
Subject [SOURCE] Issue #TRQS96 modified
Date Tue, 17 Dec 2002 19:48:45 GMT

Issue TRQS96 has just been modified by user andyhot

You can view the issue detail at the following URL:
     <http://scarab.werken.com/scarab/issues/id/TRQS96>

The following modifications were made to this issue:

1) the problem only appears if the column has a default value...the generated code is
Byte col1=new Byte(0)    which does NOT compile
2) the same problem appears with SmallInt, which gives code
Short col1=new Short(0)  which also does not compile
I'll shortly attach a patch, for files src/templates/om/Object.vm and src/templates/om/ObjectWithManager.vm

The patch will produce the following code (which correctly compiles)
Byte col1=new Byte("0")   




Mime
View raw message