Hi there,
i have noticed that it is not possible to visualize the value of the object
NumberKey when it gets
his values from database columns that are smallint.
for example :
public static void populateObject (Record row,
int offset,
Areasellerrel obj )
throws Exception
{
obj.setAselNarea(
new NumberKey(row.getValue(offset+0).asBigDecimal()));
obj.setAselNsellerid(
new NumberKey(row.getValue(offset+1).asBigDecimal()));
}
The result of row.getValue(offset+0).asBigDecimal() and of
row.getValue(offset+1).asBigDecimal() is NULL, because the fields in the
database are smallint and AselNarea is mapped as PRIMARY KEY and
AselNsellerid is
mapped as FOREIGN KEY.
Any help is very appreciated.
Regards
Patrick
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]