Is it possible to retrieve from database only if a flag is on?

后端 未结 0 1408
死守一世寂寞
死守一世寂寞 2020-12-03 06:15

I have an entity with a flag, like:

@Entity 
Class User{

  @Column
  private String name;

  @Column
  private Boolean excluded;

  // Getters, setters

}


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