diff --git a/reference/en/modules/example_mappings.xml b/reference/en/modules/example_mappings.xml index 5d40f60123..56cfc7a907 100644 --- a/reference/en/modules/example_mappings.xml +++ b/reference/en/modules/example_mappings.xml @@ -353,8 +353,8 @@ alter table line_items These examples are all taken from the Hibernate test suite. You - will find many other useful example mappings there. Have a look at the - src folder of the Hibernate distribution. + will find many other useful example mappings there. Look in the + test folder of the Hibernate distribution. TODO: put words around this stuff @@ -506,6 +506,45 @@ alter table line_items ]]> + + Many-to-many with shared composite key attribute + + + + + + + + + + + + + org + + + + + + + + + + + + + + + + + + org + + + +]]> + + Content based discrimination Any function or operator defined by EJB-QL 3.0: substring(), trim(), - lower(), upper(), length(), locate(), abs(), sqrt(), bit_length() + lower(), upper(), length(), locate(), abs(), sqrt(), bit_length(), mod() @@ -554,6 +554,12 @@ where log.item.class = 'Payment' and log.item.id = payment.id]]>coalesce() and nullif() + + + str() for converting numeric or temporal values to a + readable string + + cast(... as ...), where the second argument is the name of