Class HqlSqlWalker

All Implemented Interfaces:
ParameterBinder.NamedParameterSource, HqlSqlTokenTypes, ErrorReporter

public class HqlSqlWalker extends HqlSqlBaseWalker implements ErrorReporter, ParameterBinder.NamedParameterSource
Implements methods used by the HQL->SQL tree transform grammar (a.k.a. the second phase).
  • Isolates the Hibernate API-specific code from the ANTLR generated code.
  • Handles the SQL fragments generated by the persisters in order to create the SELECT and FROM clauses, taking into account the joins and projections that are implied by the mappings (persister/queryable).
  • Uses SqlASTFactory to create customized AST nodes.
See Also: