-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: An Error in Java Persistence with Hibernate P.292
PostPosted: Fri Aug 01, 2008 6:05 am 
Newbie

Joined: Fri Aug 01, 2008 4:06 am
Posts: 3
Location: Beijing, China
In Page 292, Java Persistence with Hibernate. The database table sample of BID, at the bottom of this page. The column 'BID_POSITION'. Its value should be same with the index of List. But why the value of the column are 0, 1, 0. Are they the valid values of a List index?

So, I think it may be an error of this Book.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 01, 2008 8:47 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
The example shows two lists. One has two elements, the other has one element.

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 01, 2008 11:38 am 
Newbie

Joined: Fri Aug 01, 2008 4:06 am
Posts: 3
Location: Beijing, China
Oh, yes. I should notice the ITEM_ID column.

Thanks.


Top
 Profile  
 
 Post subject: dfgdfgdfg
PostPosted: Sat Aug 09, 2008 12:48 pm 
Newbie

Joined: Wed Aug 06, 2008 10:09 am
Posts: 1
n Page 292, Java Persistence with Hibernate. The database table sample of BID, at the bottom of this page. The column 'BID_POSITION'. Its value should be same with the index of List. But why the value of the column are 0, 1, 0. Are they the valid values of a List index?

So, I think it may be an error of this Book.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.