wood burning stoves 2.0
The moose likes EJB and other Java EE Technologies and the fly likes Possible Error in EJB 3 in action Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Possible Error in EJB 3 in action" Watch "Possible Error in EJB 3 in action" New topic

Possible Error in EJB 3 in action

Ankit Garg

Joined: Aug 03, 2008
Posts: 9466

I think this is the correct place to post this. I found a possible error in the EJB3 in Action book. On page number 274, in Listing 8.7 the name attribute in JoinColumn annotation is given as USER_BILLING_ID. The explanation on the next page says that it is the name of the Foreign key column in USERS table. The table structure given in Figure 8.4 doesn't corresponds to this. In that the name of the foreign key column is given as BILLING_ID. Is that an error or am I missing something...

SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Reza Rahman
Ranch Hand

Joined: Feb 01, 2005
Posts: 580

I will admit it makes me very uncomfortable personally to discuss this here. I would appreciate it if we can discuss this in the Manning author online forum for EJB 3 in Action instead: http://www.manning-sandbox.com/forum.jspa?forumID=273.

That being said, I don't see anything wrong with others discussing this here.

[ December 11, 2008: Message edited by: Reza Rahman ]

Independent Consultant — Author, EJB 3 in Action — Expert Group Member, Java EE 6 and EJB 3.1
I agree. Here's the link: http://aspose.com/file-tools
subject: Possible Error in EJB 3 in action
It's not a secret anymore!