Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

HFEJB - Wrong answer??  RSS feed

 
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: 3014
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!