public class

SqlGenerator

extends SqlGeneratorBase
implements ErrorReporter
java.lang.Object
   ↳ SqlGeneratorBase
     ↳ org.hibernate.hql.ast.SqlGenerator

Class Overview

Generates SQL by overriding callback methods in the base class, which does the actual SQL AST walking.

Summary

Fields
public static boolean REGRESSION_STYLE_CROSS_JOINS
Public Constructors
SqlGenerator(SessionFactoryImplementor sfi)
Public Methods
List getCollectedParameters()
ParseErrorHandler getParseErrorHandler()
String getSQL()
static void panic()
void reportError(RecognitionException e)
void reportWarning(String s)
void traceIn(String ruleName, AST tree)
void traceOut(String ruleName, AST tree)
Protected Methods
void beginFunctionTemplate(AST node, AST nameNode)
void commaBetweenParameters(String comma)
void endFunctionTemplate(AST node)
void fromFragmentSeparator(AST a)
void nestedFromFragment(AST d, AST parent)
void optionalSpace()
void out(AST n)
void out(String s)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.hibernate.hql.ast.ErrorReporter

Fields

public static boolean REGRESSION_STYLE_CROSS_JOINS

Public Constructors

public SqlGenerator (SessionFactoryImplementor sfi)

Public Methods

public List getCollectedParameters ()

public ParseErrorHandler getParseErrorHandler ()

public String getSQL ()

public static void panic ()

public void reportError (RecognitionException e)

public void reportWarning (String s)

public void traceIn (String ruleName, AST tree)

public void traceOut (String ruleName, AST tree)

Protected Methods

protected void beginFunctionTemplate (AST node, AST nameNode)

protected void commaBetweenParameters (String comma)

protected void endFunctionTemplate (AST node)

protected void fromFragmentSeparator (AST a)

protected void nestedFromFragment (AST d, AST parent)

protected void optionalSpace ()

protected void out (AST n)

protected void out (String s)