This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

BMP that maps to table with duplicate records  RSS feed

 
Raj Jindal
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Suppose I have a table without any primary key (i.e table has duplicate records). Now i want to develop a BMP that will manipulate this table.
It is said that an entity bean represents a unique record in some persistence database table. So how will it associate the entity bean EjbOject with a unique record in databse since table has duplicate records.
What is the purpose of primary key class in this case ?
Is primary key required or not ?
How is it possible to handle such type of situation with Entity beans.
Thanks in advance.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!