Is there a convenient way to automatically validate maximum field lengths based on the length of a field in an underlying DB. (e.g. VARCHAR(25)). I'm using Hibernate so it's not clear to me how I would get at the DB metadata from the Spring web layer, specifically the validator.
Login or Sign Up
- Log in with