All string lengths are already validated by LLBLGen Pro, you don't have to define these. So if you have a varchar field in the db of length 50, and you set the mapped entity field to a string of length 60, the validation will fail, and the field is not set.