添加普通索引

@Table(name="t_token", indexes={@Index(name="token_strIndex", columnList="tokenStr"}

添加唯一索引

@Column(unique=true)

 

相关文章:

  • 2022-02-27
  • 2022-01-29
  • 2021-05-20
  • 2022-02-15
  • 2021-11-05
  • 2022-01-30
  • 2021-09-02
猜你喜欢
  • 2022-12-23
  • 2021-10-26
  • 2021-05-11
  • 2022-02-17
  • 2022-12-23
  • 2021-10-26
  • 2021-10-23
相关资源
相似解决方案