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
|