Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

petstore question  RSS feed

 
kevin ou
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,
I am wondering how petstore solve the primary key issue such as in the customer entity. I have noticed that the customer entity is using cmp then how do they get the unique primary key. Can anyone tell me. Thanks!
kevin
 
Vishwa Kumba
Ranch Hand
Posts: 1066
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I do not know Petstore sample. But did you check up if the primary key is auto-generated by the database?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!