JPA Methodin jakarta.persistence.criteria.JoinAttribute<?superZ,?> getAttribute() Return the metamodel attribute representing the join target, if any, or null if the target of the join is an entity type. Return: metamodel attribute or nullSince:JPA 2.0