Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

BMP that maps to table with duplicate records

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