JPA Id should it be Long?

前端 未结 0 1614
终归单人心
终归单人心 2021-01-29 14:31

I have a user table with columns such as username and password? the username is unique and can be a primary key, but most examples I have seen on JPA keep Long id as the primary

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