replacing validator for string length by javax standard instead of
hibernate class