diff --git a/reference/en/modules/query_hql.xml b/reference/en/modules/query_hql.xml index 41259bcf1f..72fbef7b8e 100644 --- a/reference/en/modules/query_hql.xml +++ b/reference/en/modules/query_hql.xml @@ -528,6 +528,13 @@ where log.item.class = 'Payment' and log.item.id = payment.id]]>current_timestamp() + + + second(...), minute(...), + hour(...), day(...), + month(...), year(...), + + Any function or operator defined by EJB-QL 3.0: substring(), trim(), @@ -542,9 +549,10 @@ where log.item.class = 'Payment' and log.item.id = payment.id]]> - cast(... as ...) where the second argument is the name of - a Hibernate type, if ANSI cast() is supported by the underlying - database + cast(... as ...), where the second argument is the name of + a Hibernate type, and extract(... from ...) if ANSI + cast() and extract() is supported by + the underlying database