validate bean constraint on manufacturer property sometimes based on configuration from data base

后端 未结 0 1030
甜味超标
甜味超标 2020-11-30 00:45

Can we achieve @NotNull constraint gets executed only if it is enabled to execute in DB

public class Vehicle {
  @NotNull //supposed to execute only if config         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题