> Another use case may be Optional from JDK 8: > > @Size(min = 5) > Optional<String> name;
Is another upcoming change not "type annotations" which would allow Optional<@Size(min = 5) String>? That would of course be the preferable solution. --hardy _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev