-->
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.  [ 2 posts ] 
Author Message
 Post subject: Errata in page 228
PostPosted: Tue Sep 14, 2004 11:57 pm 
Newbie

Joined: Mon Aug 16, 2004 2:00 pm
Posts: 7
Looks like the Category end of the bidirectional association on page 228 has the many-to-many class mentioned as Item.

<class name="Item" table="ITEM">
...
<set name="categories"
table="CATEGORY_ITEM"
lazy="true"
inverse="true"
cascade="save-update">
<key column="ITEM_ID"/>
<many-to-many class="Item" column="CATEGORY_ID"/>
</set>
</class>

The many-to-many class I believe should be Category.
I believe it also the same problemwith the bag mapping shown at the end of the page 228 continued on to page 229


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 29, 2004 3:41 pm 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
Thanks, will be fixed in reprint.

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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.