Class LengthExpression

  • All Implemented Interfaces:
    Expression

    public final class LengthExpression
    extends AbstractSingleEncapsulatedExpression
    The LENGTH function returns the length of the string in characters as an integer.

    JPA 1.0, 2.0:

    BNF: expression ::= LENGTH(string_primary)

    JPA 2.1:

    BNF: expression ::= LENGTH(string_expression)

    Version:
    2.5
    Author:
    Pascal Filion
    Since:
    2.3