JPA 1.0:
functions_returning_numerics::= LENGTH(string_primary) |
LOCATE(string_primary, string_primary[, simple_arithmetic_expression]) |
ABS(simple_arithmetic_expression) | SQRT(simple_arithmetic_expression) |
MOD(simple_arithmetic_expression, simple_arithmetic_expression) |
SIZE(collection_valued_path_expression)functions_returning_numerics::= LENGTH(string_primary) |
LOCATE(string_primary, string_primary[, simple_arithmetic_expression]) |
ABS(simple_arithmetic_expression) | SQRT(simple_arithmetic_expression) |
MOD(simple_arithmetic_expression, simple_arithmetic_expression) |
SIZE(collection_valued_path_expression) |
INDEX(identification_variable)functions_returning_numerics ::= ABS(arithmetic_expression) |
CEILING(arithmetic_expression) |
EXP(arithmetic_expression) |
FLOOR(arithmetic_expression) |
LN(arithmetic_expression) |
MOD(arithmetic_expression, arithmetic_expression) |
POWER(arithmetic_expression, arithmetic_expression) |
ROUND(arithmetic_expression, arithmetic_expression) |
SIGN(arithmetic_expression) |
SQRT(arithmetic_expression) |
SIZE(collection_valued_path_expression) |
INDEX(identification_variable) |
extract_datetime_field
extract_datetime_field := EXTRACT(datetime_field FROM datetime_expression)
datetime_field := identification_variable| Modifier and Type | Field and Description |
|---|---|
| public static final String | ID
The unique identifier of this BNF rule. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | initialize()
Overrides org. JPQLQueryBNFs and ExpressionFactories.
|
| ID | back to summary |
|---|---|
| public static final String ID The unique identifier of this BNF rule. | |
| FunctionsReturningNumericsBNF | back to summary |
|---|---|
| public FunctionsReturningNumericsBNF() Creates a new | |
| initialize | back to summary |
|---|---|
| protected void initialize() Overrides org. Doc from org. Initializes this BNF by registering child
| |