| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| pack-priv static interface |
| Modifier and Type | Field and Description |
|---|---|
| private long | |
| private static final String | |
| private final SQLQueryParser. | |
| private static final String | |
| private final SessionFactoryImplementor | factory
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| private static final String | |
| private final String | |
| private List | |
| private static final Pattern | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public | SQLQueryParser(String queryString, SQLQueryParser.
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| protected String | |
| public List | |
| public String | |
| public boolean | |
| private String | |
| private String | |
| protected String | |
| private String | Returns: The SQL query with parameter substitution complete.The query string. sqlString)Substitutes JDBC parameter placeholders (?) for all encountered parameter specifications. |
| aliasesFound | back to summary |
|---|---|
| private long aliasesFound | |
| CATALOG_PLACEHOLDER | back to summary |
|---|---|
| private static final String CATALOG_PLACEHOLDER | |
| context | back to summary |
|---|---|
| private final SQLQueryParser. | |
| DOMAIN_PLACEHOLDER | back to summary |
|---|---|
| private static final String DOMAIN_PLACEHOLDER | |
| factory | back to summary |
|---|---|
| private final SessionFactoryImplementor factory
Deprecated as a consequence of | |
| HIBERNATE_PLACEHOLDER_PREFIX | back to summary |
|---|---|
| private static final String HIBERNATE_PLACEHOLDER_PREFIX | |
| originalQueryString | back to summary |
|---|---|
| private final String originalQueryString | |
| paramValueBinders | back to summary |
|---|---|
| private List<ParameterBinder> paramValueBinders | |
| PREPARED_STATEMENT_PATTERN | back to summary |
|---|---|
| private static final Pattern PREPARED_STATEMENT_PATTERN | |
| SCHEMA_PLACEHOLDER | back to summary |
|---|---|
| private static final String SCHEMA_PLACEHOLDER | |
| SQLQueryParser | back to summary |
|---|---|
| public SQLQueryParser(String queryString, SQLQueryParser. Deprecated as a consequence of | |
| getOriginalQueryString | back to summary |
|---|---|
| protected String getOriginalQueryString() | |
| getParameterValueBinders | back to summary |
|---|---|
| public List | |
| process | back to summary |
|---|---|
| public String process() | |
| queryHasAliases | back to summary |
|---|---|
| public boolean queryHasAliases() | |
| resolveCollectionProperties | back to summary |
|---|---|
| private String resolveCollectionProperties(String aliasName, String propertyName) | |
| resolveProperties | back to summary |
|---|---|
| private String resolveProperties(String aliasName, String propertyName) | |
| substituteBrackets | back to summary |
|---|---|
| protected String substituteBrackets(String sqlQuery) throws QueryException | |
| substituteParams | back to summary |
|---|---|
| private String substituteParams(String sqlString) Substitutes JDBC parameter placeholders (?) for all encountered parameter specifications. It also tracks the positions of these parameter specifications within the query string. This accounts for ordinal-params, named-params, and ejb3-positional-params. | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv int | |
| private List | |
| pack-priv StringBuilder |
| Access | Constructor and Description |
|---|---|
| public | ParameterSubstitutionRecognizer(SessionFactoryImplementor factory)
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public List | |
| public void | jpaPositionalParameter(int
The identifier (name) of the JPA-style parameter name, int The position within the query position)Implements org. |
| public void | namedParameter(String
The recognized parameter name name, int The position within the query position)Implements org. |
| public void | ordinalParameter(int
The position within the query position)Implements org. |
| public void | other(char
The recognized character character)Implements org. |
| public void | outParameter(int
The position within the query position)Implements org. |
| private void | |
| private void |
| jdbcPositionalParamCount | back to summary |
|---|---|
| pack-priv int jdbcPositionalParamCount | |
| paramValueBinders | back to summary |
|---|---|
| private List<ParameterBinder> paramValueBinders | |
| result | back to summary |
|---|---|
| pack-priv StringBuilder result | |
| ParameterSubstitutionRecognizer | back to summary |
|---|---|
| public ParameterSubstitutionRecognizer(SessionFactoryImplementor factory)
Deprecated as a consequence of | |
| complete | back to summary |
|---|---|
| public void complete() Implements org.
| |
| getParameterValueBinders | back to summary |
|---|---|
| public List | |
| jpaPositionalParameter | back to summary |
|---|---|
| public void jpaPositionalParameter(int name, int position) Implements org. Doc from org. Called when a JPA-style named parameter is recognized
| |
| namedParameter | back to summary |
|---|---|
| public void namedParameter(String name, int position) Implements org. Doc from org. Called when a named parameter is recognized | |
| ordinalParameter | back to summary |
|---|---|
| public void ordinalParameter(int position) Implements org. Doc from org. Called when an ordinal parameter is recognized
| |
| other | back to summary |
|---|---|
| public void other(char character) Implements org. Doc from org. Called when a character that is not a parameter (or part of a parameter definition) is recognized.
| |
| outParameter | back to summary |
|---|---|
| public void outParameter(int position) Implements org. Doc from org. Called when an output parameter is recognized
| |
| registerNamedParamBinder | back to summary |
|---|---|
| private void registerNamedParamBinder(String name) | |
| registerPositionParamBinder | back to summary |
|---|---|
| private void registerPositionParamBinder(int label) | |
| Modifier and Type | Method and Description |
|---|---|
| public SQLLoadableCollection | |
| public String | |
| public SQLLoadable | |
| public String | |
| public Map | |
| public boolean | |
| public boolean |
| getCollectionPersisterByAlias | back to summary |
|---|---|
| public SQLLoadableCollection getCollectionPersisterByAlias(String alias) | |
| getCollectionSuffixByAlias | back to summary |
|---|---|
| public String getCollectionSuffixByAlias(String alias) | |
| getEntityPersisterByAlias | back to summary |
|---|---|
| public SQLLoadable getEntityPersisterByAlias(String alias) | |
| getEntitySuffixByAlias | back to summary |
|---|---|
| public String getEntitySuffixByAlias(String alias) | |
| getPropertyResultsMapByAlias | back to summary |
|---|---|
| public Map | |
| isCollectionAlias | back to summary |
|---|---|
| public boolean isCollectionAlias(String aliasName) | |
| isEntityAlias | back to summary |
|---|---|
| public boolean isEntityAlias(String aliasName) | |