Unique constraint not created in JPA

后端 未结 5 1477
抹茶落季
抹茶落季 2021-01-18 01:49

I have created the following entity bean, and specified two columns as being unique. Now my problem is that the table is created without the unique constraint, and no errors

5条回答
  •  星月不相逢
    2021-01-18 02:35

    You dont have to drop everything, just drop this particular table you want to create unique index for

提交回复
热议问题