posted 13 years ago
Are you asking how to set the maxlength allowed by an HTML text input box?
In any case--that's not good enough: the length still needs to be validated on the server side--how are you currently validating?
You *could* do something with a Hibernate type converter, I suppose, but ew.
In any case, I don't see this as being a Hibernate issue.