I know that a DateTimeFormat annotation can be defined on Date properties of a Model class in Spring but is there any way of defining a default dateTimeFormat annotation for all Dates in Spring Model classes?
@DateTimeFormat(pattern = "MM/dd/YYYY")
private Date deliveryDate;
It will save me from annotating each date field. It will also make it easy for me to change the application wide date format later on.