You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by Andreas Andreou <an...@di.uoa.gr> on 2002/12/17 20:48:45 UTC
[SOURCE] Issue #TRQS96 modified
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")