[hibernate-dev] MethodLevel Constraints for method level validations
emmanuel at hibernate.org
Fri Jul 8 10:02:03 EDT 2011
Do you think we should support the following?
void bookHotel(@NotNull @Valid Customer customer, Date from, Date to);
ie like we have properly level and class level constraints, we could get method level constraints receiving all the parameters and raising constraints violations if necessary.
More information about the hibernate-dev