diff --git a/reference/en/modules/basic_mapping.xml b/reference/en/modules/basic_mapping.xml index 3697ce5eca..91406da819 100644 --- a/reference/en/modules/basic_mapping.xml +++ b/reference/en/modules/basic_mapping.xml @@ -1196,6 +1196,11 @@ not-null="true|false" optimistic-lock="true|false" node="element-name|@attribute-name|element/@attribute|." + index="index_name" + unique_key="unique_key_id" + length="L" + precision="P" + precision="S" />]]> @@ -1232,13 +1237,13 @@ mapping of their own. - + access (optional - defaults to property): The strategy Hibernate should use for accessing the property value. - + lazy (optional - defaults to false): Specifies that this property should be fetched lazily when the instance variable is first @@ -1369,6 +1374,7 @@ + ]]> @@ -1487,6 +1497,12 @@ + + + formula (optional): an SQL expression that defines the value for a + computed foreign key. + + @@ -1569,6 +1585,7 @@ entity-name="EntityName" node="element-name|@attribute-name|element/@attribute|." embed-xml="true|false" + foreign-key="foreign_key_name" />]]> diff --git a/reference/en/modules/collection_mapping.xml b/reference/en/modules/collection_mapping.xml index e86c38d755..62defdc5b9 100644 --- a/reference/en/modules/collection_mapping.xml +++ b/reference/en/modules/collection_mapping.xml @@ -427,9 +427,9 @@ kittens = cat.getKittens(); // Okay, kittens collection is a Set column="column_name" formula="any SQL expression" type="typename" - length="N" - precision="N" - scale="N" + length="L" + precision="P" + scale="S" not-null="true|false" unique="true|false" node="element-name"