标签: spring spring-boot spring-data spring-data-rest spring-validator
我正在使用spring数据休息和spring boot,其中首先调用BeforeSaveEventHandler,然后再调用BeforeSaveValidator。
BeforeSaveEventHandler
BeforeSaveValidator
是否有可能进行自定义验证,例如在BeforeSaveEventHandler中进行唯一/非空值检查,或者先调用BeforeSaveValidator然后再调用BeforeSaveEventHandle?
BeforeSaveEventHandle
谢谢