Class ComparisonExpressionBNF

java.lang.Object
org.eclipse.persistence.jpa.jpql.parser.JPQLQueryBNF
org.eclipse.persistence.jpa.jpql.parser.ComparisonExpressionBNF

public final class ComparisonExpressionBNF extends JPQLQueryBNF
The query BNF for a comparison expression.

JPA 1.0:

BNF: comparison_expression ::= string_expression comparison_operator {string_expression | all_or_any_expression} | boolean_expression { = | <> } {boolean_expression | all_or_any_expression} | enum_expression { = | <> } {enum_expression | all_or_any_expression} | datetime_expression comparison_operator {datetime_expression | all_or_any_expression} | entity_expression { = | <> } {entity_expression | all_or_any_expression} | arithmetic_expression comparison_operator {arithmetic_expression | all_or_any_expression}

JPA 2.0, 2.1:
BNF: comparison_expression ::= string_expression comparison_operator {string_expression | all_or_any_expression} | boolean_expression { = | <> } {boolean_expression | all_or_any_expression} | enum_expression { = | <> } {enum_expression | all_or_any_expression} | datetime_expression comparison_operator {datetime_expression | all_or_any_expression} | entity_expression { = | <> } {entity_expression | all_or_any_expression} | arithmetic_expression comparison_operator {arithmetic_expression | all_or_any_expression} | entity_type_expression { = | <> } entity_type_expression}

Version:
2.5
Author:
Pascal Filion
  • Field Details

  • Constructor Details

    • ComparisonExpressionBNF

      public ComparisonExpressionBNF()
      Creates a new ComparisonExpressionBNF.
  • Method Details