Fixed generator for integers to use the precision returned by the database to control the max size of the integer
Removed unreachable code in data generator