-->
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: 2 documentation bugs in 3.0.5
PostPosted: Thu Jun 02, 2005 7:01 am 
Newbie

Joined: Fri May 20, 2005 2:42 am
Posts: 14
Hibernate version: 3.0.5

Hi,

i found 2 documentation errors in version 3.0.5 of the hibernate documentation.
The errors exist in the html and pdf documentation.


1. In Chapter "7.3.4. Using an <idbag>"

In the mapping example there is the following many-to-many tag :
<many-to-many column="PERSON2" class="eg.Person" outer-join="true"/>

Since the outer-join attribute is deprecated the fetch attribute should be used :
<many-to-many column="PERSON2" class="eg.Person" fetch="join"/>


2. In Chapter "4.7. XML configuration file"

In the mapping example there is the following collection-cache tag :
<collection-cache class="org.hibernate.auction.Item.bids" usage="read-write"/>

According to the dtd the collection-cache tag does not have a class attribute.
It ha a collection attribute :
<collection-cache collection="org.hibernate.auction.Item.bids" usage="read-write"/>


regards,
Andreas


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 02, 2005 1:04 pm 
Hibernate Team
Hibernate Team

Joined: Thu Dec 18, 2003 9:55 am
Posts: 1977
Location: France
please submit jira: documentation project

_________________
Anthony,
Get value thanks to your skills: http://www.redhat.com/certification


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.