java.lang.Object
org.eclipse.persistence.jpa.jpql.tools.resolver.Resolver
org.eclipse.persistence.jpa.jpql.tools.resolver.SubqueryEntityResolver

public class SubqueryEntityResolver extends Resolver
This Resolver retrieves the type for an abstract schema name (entity name) if it can be resolved otherwise a derived path will be assumed. This Resolver is used within a subquery and it handles the following two cases.

The "root" object in the subquery is an unqualified derived path:

 UPDATE Employee SET name = 'JPQL'
 WHERE (SELECT a FROM addr a)
and The "root" object in the subquery is an entity:
 UPDATE Employee SET name = 'JPQL'
 WHERE (SELECT a FROM Address a)
Since:
2.5
Version:
2.5