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

EJB primary key  RSS feed

 
priya shankar
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all

Why should we create Primary key automatically?..Explain Pls
priya
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by automatically?
Each entity is identified by unique key called as Primary key. For example an employee entity can be identified by employee #.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!