Force id value when using SequenceGenerator in hibernate

前端 未结 0 381
南旧
南旧 2021-01-29 20:53

I have a requirement in which I have to store a new record in the table with the ID that I send manually. Now in my hibernate entity file I use @SequenceGenerator and @Generated

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