Slide 68
Slide 68 text
Category Operators/Expressions/Functions
Navigation operator .
Arithmetic operators +, - (unary plus and minus) *, / (multiplication and division) +, - (addition and subtraction)
Comparison operators =, >, >=, <, <=, <> (not equal), [NOT] BETWEEN, [NOT] LIKE, [NOT] IN, IS [NOT] NULL, IS [NOT] EMPTY, [NOT]
MEMBER [OF]
Logical operators NOT AND OR
Expressions [NOT] EXISTS (subquery), ALL | ANY | SOME (subquery)
String Functions CONCAT(string_primar y, string_primary) | SUBSTRING(string_primar y, simple_arithmetic_expression,
simple_arithmetic_expression) | TRIM([[trim_specification] [trim_character] FROM] string_primary) |
LOWER(string_primar y) | UPPER(string_primar y) | LENGTH(string_primar y) | LOCATE(string_primar y, string_primar
y[, simple_arithmetic_expression])
Arithmetic Functions ABS(simple_arithmetic_expression) | SQRT(simple_arithmetic_expression) | MOD(simple_arithmetic_expression,
simple_arithmetic_expression) | SIZE(collection_valued_path_expression)
Datetime Functions CURRENT_DATE | CURRENT_TIME | CURRENT_TIMESTAMP
JPA DB Manipulation Language
• JPQL – Other Operators/Expressions/Functions
68