String validation for custom types

Description

Hi,

as already described in ticket:
http://opensource.atlassian.com/projects/hibernate/browse/HV-502

it would be nice to allow the user using e.g. @Size or @Pattern on its own types. From the point of view of the reference implementation of the Java Bean Validation, it means, that the validator classes have to be changed in the generics from String to CharSequence.

Greetings,
Andreas

Environment

None

Assignee

Unassigned

Reporter

Andreas Grund

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Affects versions

Priority

Minor
Configure