HqlTranslator.
| Modifier and Type | Field and Description |
|---|---|
| private final SqmCreationContext | |
| private final SqmCreationOptions |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private HqlParser. | |
| public static String | prettifyAntlrError(Object offendingSymbol, int line, int charPositionInLine, String message, RecognitionException e, String hql, boolean includeLocation)
ANTLR's error messages are surprisingly bad, so try to make them a bit better. |
| public <R> SqmStatement | translate(String
The HQL/JPQL query string to interpret query, Class<R> The type specified when creating the query expectedResultType)Implements org. |
| sqmCreationContext | back to summary |
|---|---|
| private final SqmCreationContext sqmCreationContext | |
| sqmCreationOptions | back to summary |
|---|---|
| private final SqmCreationOptions sqmCreationOptions | |
| StandardHqlTranslator | back to summary |
|---|---|
| public StandardHqlTranslator(SqmCreationContext sqmCreationContext, SqmCreationOptions sqmCreationOptions) | |
| parseHql | back to summary |
|---|---|
| private HqlParser. | |
| prettifyAntlrError | back to summary |
|---|---|
| public static String prettifyAntlrError(Object offendingSymbol, int line, int charPositionInLine, String message, RecognitionException e, String hql, boolean includeLocation) ANTLR's error messages are surprisingly bad, so try to make them a bit better. | |
| translate | back to summary |
|---|---|
| public <R> SqmStatement Implements org. Doc from org. Performs the interpretation of a HQL/JPQL query string to SQM.
| |