Class 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)
    Version:
    2.5
    Author:
    Pascal Filion
    Since:
    2.5