You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See discussion on #137 : when first POJO validation occurs, hibernate validator caches annotations metadata on the POJO class instance (see here)
If we change the POJO structure, and add/remove some validation constraints on it, hot reload/compile is triggered but these changes are not reflected during bean validation since cached annotation metadata are taken into consideration.
The text was updated successfully, but these errors were encountered:
My bad, seems like the issue was a false positive, hot reload works well.
Seems like the cached metadata belongs to the Validator (thus, instantiating a new Validator on each request would prevent from reusing previous constraints metadata)
See discussion on #137 : when first POJO validation occurs,
hibernate validator
caches annotations metadata on the POJO class instance (see here)If we change the POJO structure, and add/remove some validation constraints on it, hot reload/compile is triggered but these changes are not reflected during bean validation since cached annotation metadata are taken into consideration.
The text was updated successfully, but these errors were encountered: