In working with various controls in both SmartGWT and SmartGWT.mobile, I've noticed that types that are declared as "INTEGER" in server-side DataSource definitions are mapped to java.lang.Integer values on the client side. Example:
However, our record primary keys are all defined as Long (64-bit) values, and we expect that the 31-bit space of the Integer mapping will be fairly quickly exhausted by at least one table (line items for orders). I understand that the native JavaScript integer type is 53 bits wide; how do SmartClient and SmartGWT.mobile handle values that are greater than 2147483647? Will the runtimes perform some sort of autoexpansion, or is there going to be a train wreck when we pass the MAX_INT limit?
Code:
[b]JSONUtils:141[/b] else if ("integer".equals(type)) value = getIntegerValue(jso, keyName);
Comment