JPA Methodin javax.persistence.criteria.PathExpression<Class<?extendsX>> type() Create an expression corresponding to the type of the path. Return: expression corresponding to the type of the pathSince:JPA 2.0