Auto generate number spring boot jpa hibernate annotation gives always null value

前端 未结 0 346
北荒
北荒 2020-12-14 16:48

I want to have a unique number besides my string id. So I thought I could use Generated from Hibernate but the value is always null.

My entity:

@Entity         


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