Changed default fetch value to 10000, because Integer.MIN_VALUE works only with MySQL