A: 

Presumably "id" is the primary key.

If it is defined as a NUMBER in the database, that could include fractions (eg 3.5).

If you define it as NUMBER(10,0) then it will always be an integer.

Since you are trying to pull it out as a String [.asString()] there could be a conversion issue.

Gary
but id is defined as NUMBER(10,0)...
areslp