| Technically, @NotBlank is completely independent from @NotNull, although it also mandates non-nullability. I can get behind the request though to consider this in DDL generation. That would have to be done in Hibernate ORM, though, i.e. also add NOT NULL to column DDL if a property is annotated with NotBlank (or NotEmpty). In the longterm, this should also be considered in the JPA spec itself. |