Class TypeExpression

  • All Implemented Interfaces:
    Expression

    public final class TypeExpression
    extends AbstractSingleEncapsulatedExpression
    An entity type expression can be used to restrict query polymorphism. The TYPE operator returns the exact type of the argument.

    Part of JPA 2.0.

    BNF: type_discriminator ::= TYPE(identification_variable | single_valued_object_path_expression | input_parameter)

    Since:
    2.3
    Version:
    2.5
    Author:
    Pascal Filion