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

Type :        Defect
Issue Id :    TRQS84
Reported by: Quinton McCombs
             quintonm - ([EMAIL PROTECTED])

Details:

Summary: booleanint not handling null values correctly when used as "object" type
Description: Scenerio:  Define a table with a booleanint field.  The javaType should 
be set to "object".  When data is loaded into the generated object from the database, 
null values are loaded as Boolean.FALSE.  The problem is in the method 
populateObject(Record, int, <youOmObjectName>).  The following line appears to be the 
problem:

boolean b = (row.getValue(offset + 4).asInt() != 0);

Granted, that is generated code but I think that it shows fairly well where the 
problem is.  I will try to figure out how to fix this.  I have not looked at the code 
generation at all.  If anyone could point me in the right direction, it would be very 
much appreciated!
Status: New
Priority: High


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

Reply via email to