Exam 1Z0-810: Upgrade to Java SE 8 Programmer Study Guide and Quiz Exam 1Z0-817: Upgrade OCP Java 6, 7 and 8 to Java SE 11 Developer Study Guide and Quiz
posted 15 years ago
Correct but when I said 'same home', I meant same entity bean type i.e. both the objects are of PersonBean but from different homes. I have this doubt because if a bean is deployed twice, each will have a different home.
Both of them must come from same home and should be pointing towards the same entity. By Entity, i mean , Primary Key's object data that uniquly identifies it in the database. For example Bean 1(#88) ,Bean 2 (#88) , Bean 3 (#98), Bean 4(#299) . Consider these are all beans with primary key values in parenthesis. When you run isIdentical on Bean 1 and 2 , it should return true bcaz Bean 1 and 2 are sharing the same primary key object. For all others it will return false. I assume all of them are coming from the same home.
SCWCD J2EE, OCP(Internet App Dev), SCJP 2
Can you shoot lasers out of your eyes? Don't look at this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!