Here's a simple source, stating that this date must be in the past using Bean Validation :
@Past
private Date transactionDate;
Is there any BV annotation for validating that the date must be today or previous day?
Or perhaps I need to extend the constraint and provide my own?
@PastOrPresent
instead. – Tango