diff --git a/reference/en/modules/collection_mapping.xml b/reference/en/modules/collection_mapping.xml index 261c8cbb78..28a8163d97 100644 --- a/reference/en/modules/collection_mapping.xml +++ b/reference/en/modules/collection_mapping.xml @@ -211,16 +211,16 @@ kittens = cat.getKittens(); // Okay, kittens collection is a Set - - Collection instances are distinguished in the database by the foreign key of - the entity that owns the collection. This foreign key is referred to as the - collection key column (or columns) of the collection - table. The collection key column is mapped by the <key> - element. - - - Collection foreign keys + Collection foreign keys + + + Collection instances are distinguished in the database by the foreign key of + the entity that owns the collection. This foreign key is referred to as the + collection key column (or columns) of the collection + table. The collection key column is mapped by the <key> + element. + There may be a nullability constraint on the foreign key column. For most @@ -237,6 +237,11 @@ kittens = cat.getKittens(); // Okay, kittens collection is a Set ]]> + + See the previous chapter for a full definition of the <key> + element. + + @@ -385,6 +390,7 @@ kittens = cat.getKittens(); // Okay, kittens collection is a Set length="N" precision="N" scale="N" + not-null="true|false" unique="true|false" />]]>