wood burning stoves 2.0*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes EJB3 in Action page 255 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "EJB3 in Action page 255" Watch "EJB3 in Action page 255" New topic
Author

EJB3 in Action page 255

Mamadou Touré
Ranch Hand

Joined: Dec 27, 2007
Posts: 189
Hi All,

In the EJB3 in Action page 255, it`s said "The ITEM_ID foreign key into the ITEMS table from the BIDS...". I think it should be "The ITEM_SELLER_ID" instead, because in the ITEMS table ITEM_ID is not the foreign key. Is it an erratum ???

Regards


SCJP 5 (76%)
SCWCD 5 (86%)
SCBCD 5(70%)
--------------------
"The greatest glory in living lies not in never falling, but in raising every time we fall.".. Nelson Mandela
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

I think that it should be BID_ITEM_ID. ITEM_SELLER_ID is a reference to the USERS table.

"The BID_ITEM_ID foreign key into the ITEMS table from the BIDS table..."


[My Blog]
All roads lead to JavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJB3 in Action page 255
 
Similar Threads
Resource annotaion. doubts
Inverse Attribute : Serious Problem
Using @JoinColumn VS not using @JoinColumn
Possible Error in EJB 3 in action
EJB 3 in Action - JPA Doubt