diff --git a/reference/en/modules/collection_mapping.xml b/reference/en/modules/collection_mapping.xml
index 62defdc5b9..2f660a25e8 100644
--- a/reference/en/modules/collection_mapping.xml
+++ b/reference/en/modules/collection_mapping.xml
@@ -347,8 +347,7 @@ kittens = cat.getKittens(); // Okay, kittens collection is a Set
- type (optional, defaults to integer):
- The type of the collection index.
+ type (reguired): The type of the map keys.
@@ -380,8 +379,7 @@ kittens = cat.getKittens(); // Okay, kittens collection is a Set
- class (required): The entity class used as the
- collection index.
+ class (required): The entity class used as the map key.
diff --git a/reference/en/modules/persistent_classes.xml b/reference/en/modules/persistent_classes.xml
index aa6e036777..872c8ad542 100644
--- a/reference/en/modules/persistent_classes.xml
+++ b/reference/en/modules/persistent_classes.xml
@@ -10,7 +10,7 @@
Hibernate works best if these classes follow some simple rules, also known
- as the Plain Old Java Object (POJO) programming model. However none of these
+ as the Plain Old Java Object (POJO) programming model. However, none of these
rules are hard requirements. Indeed, Hibernate3 assumes very little about
the nature of your persistent objects. You may express a domain model in other
ways: using trees of Map instances, for example.
@@ -107,36 +107,15 @@ public class Cat {
-
- Declare accessors and mutators for persistent fields
-
-
- Cat declares accessor methods for all its persistent fields.
- Many other ORM tools directly persist instance variables. We believe
- it is far better to decouple this implementation detail from the persistence
- mechanism. Hibernate persists JavaBeans style properties, and recognizes method
- names of the form getFoo, isFoo and
- setFoo. You may however switch to direct field access for
- particular properties, if needed.
-
-
-
- Properties need not be declared public - Hibernate can
- persist a property with a default, protected or
- private get / set pair.
-
-
-
-
Implement a no-argument constructor
- Cat has a no-argument constructor. All
- persistent classes must have a default constructor (which may be non-public) so
- Hibernate can instantiate them using Constructor.newInstance().
- We recommend having a constructor with at least package
- visibility for runtime proxy generation in Hibernate.
+ Cat has a no-argument constructor. All persistent classes must
+ have a default constructor (which may be non-public) so that Hibernate can instantiate
+ them using Constructor.newInstance(). We strongly recommend having a
+ default constructor with at least package visibility for runtime proxy
+ generation in Hibernate.
@@ -206,6 +185,27 @@ public class Cat {
+
+ Declare accessors and mutators for persistent fields (optional)
+
+
+ Cat declares accessor methods for all its persistent fields.
+ Many other ORM tools directly persist instance variables. We believe it is
+ better to provide an indirection between the relational schema and internal
+ data structures of the class. By default, Hibernate persists JavaBeans style
+ properties, and recognizes method names of the form getFoo,
+ isFoo and setFoo. You may switch to direct
+ field access for particular properties, if needed.
+
+
+
+ Properties need not be declared public - Hibernate can
+ persist a property with a default, protected or
+ private get / set pair.
+
+
+
+