generate length information for JPA columns