From e60dabded27b74ed99c92f0bb8f5b692227a2fdd Mon Sep 17 00:00:00 2001 From: Gavin King Date: Tue, 26 Apr 2005 09:39:53 +0000 Subject: [PATCH] docd function support git-svn-id: https://svn.jboss.org/repos/hibernate/trunk/Hibernate3/doc@6518 1b8cb986-b30d-0410-93ca-fae66ebed9b2 --- reference/en/modules/query_hql.xml | 47 +++++++++++++++++------------- 1 file changed, 27 insertions(+), 20 deletions(-) diff --git a/reference/en/modules/query_hql.xml b/reference/en/modules/query_hql.xml index 58b065e3ed..ec437350f5 100644 --- a/reference/en/modules/query_hql.xml +++ b/reference/en/modules/query_hql.xml @@ -495,13 +495,31 @@ where log.item.class = 'Payment' and log.item.id = payment.id]]> - string concatenation ...||... or concat(...,...) + Parentheses ( ), indicating grouping - SQL scalar functions like upper(), lower(), - abs() + in, + not in, + between, + is null, + is not null, + is empty, + is not empty, + member of and + not member of + + + + + "Simple" case, case ... when ... then ... else ... end, and + "searched" case, case when ... then ... else ... end + + + + + string concatenation ...||... or concat(...,...) @@ -512,31 +530,20 @@ where log.item.class = 'Payment' and log.item.id = payment.id]]> - Any function or operator defined by EJB-QL 3.0 + Any function or operator defined by EJB-QL 3.0: substring(), trim(), + lower(), upper(), length(), locate(), abs(), sqrt(), bit_length() - case ... when ... then ... else ... end and - case when ... then ... else ... end + coalesce() and nullif(), if supported by + the underlying database - Parentheses ( ) indicate grouping - - - - - in, - not in, - between, - is null - is not null - is empty - is not empty - member of - not member of + Any database-supported SQL scalar function like sign(), + trunc(), rtrim(), sin()