Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unable to understand the concept of Primary Key in EJB

843829Dec 31 2002 — edited Jan 1 2003
hi,
please help me in understanding the concept of Primary Key.
For each and every entity bean represents a data base row. i think it is correct. if multiple users are accessing the same data base row, there will be different primary key for each and every client. is it correct or not. can we say this as "concurrency"?. if all the clients are manipulating the bean, who manages it either application server or data base server?. why does we must implement both hashCode() and equals() methods?. Provide me the links where i can find the answers.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 29 2003
Added on Dec 31 2002
2 comments
176 views