• Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernate IDENTITY VS Sequesce  RSS feed

 
ujwwala tem
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I have a column as ID with generation type as IDENTITY,How can I make sure it will generate unique ids as it is giving constraint violation exception,ideally it should generate next available value,

Please reply and what is then difference between sequence and IDENTITY,Please clarify,

Thanks,
Uj
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!