I think you don't need to specify the length for int columns since hibernate already knows the maximum length for an integer value unless you want it to be less