I have a select statement such as "select count(*) from table_name"
On the iOS simulator if I use resultset->GetIntWithType(x, UL_TYPE_S_LONG); I get the correct value. However, on the device I get a vary large number greater than MaxInt. If I change it to use resultSet->GetInt(x); it works.
I assume this is a bug? Do any of the GetIntWithType function methods work?
I did some more research and it looks like the problem was not with GetIntWithType but when I used it in Mono. If I change my property to an int instead of a long everything is fine.
answered 21 Mar '13, 14:40