Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

HFEJB - Wrong answer??

 
Mahesh Subramanian
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am almost convinced this answer is wrong. Can anybody justify it as right?

Page 672, Question 46:
What's true about an entity bean's primary key?
A. Primary key fields must be cmp-fields.
...
...

I had checked this answer, but book says it is not because "you can use a compound key". But even with compound keys, the fields must still be cmp-fields right?
 
Greg Charles
Sheriff
Posts: 3012
12
Firefox Browser IntelliJ IDE Java Mac Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Right. My book lists A as one of the right answers for that question. Are you saying that yours doesn't?
 
Mahesh Subramanian
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No mine doesn't!! I am surprised because the book is of excellent quality otherwise.

SCJP, SCBCD, OCP
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is in the unconfirmed errata:
http://www.oreilly.com/catalog/hfjejb/errata/hfjejb.unconfirmed
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!