| 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 | |
| private static final String | |
| private final Map | |
| private final String | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public | SQLQueryParser(String queryString, SQLQueryParser.
|
| Modifier and Type | Method and Description |
|---|---|
| public Map | |
| public String | |
| public boolean | |
| private String | |
| private String | |
| private String | |
| private String | Returns: The SQL query with parameter substitution complete.The query string. sqlString)Substitues 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 | |
| HIBERNATE_PLACEHOLDER_PREFIX | back to summary |
|---|---|
| private static final String HIBERNATE_PLACEHOLDER_PREFIX | |
| namedParameters | back to summary |
|---|---|
| private final Map<K, V> namedParameters | |
| originalQueryString | back to summary |
|---|---|
| private final String originalQueryString | |
| SCHEMA_PLACEHOLDER | back to summary |
|---|---|
| private static final String SCHEMA_PLACEHOLDER | |
| SQLQueryParser | back to summary |
|---|---|
| public SQLQueryParser(String queryString, SQLQueryParser. | |
| getNamedParameters | back to summary |
|---|---|
| public Map | |
| 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 |
|---|---|
| private String substituteBrackets(String sqlQuery) throws QueryException | |
| substituteParams | back to summary |
|---|---|
| private String substituteParams(String sqlString) Substitues 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 Map | |
| pack-priv int | |
| pack-priv StringBuffer |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public void | jpaPositionalParameter(String name, int position)
Implements org. |
| public void | namedParameter(String name, int position)
Implements org. |
| public void | ordinalParameter(int position)
Implements org. |
| public void | |
| public void | outParameter(int position)
Implements org. |
| namedParameterBindPoints | back to summary |
|---|---|
| pack-priv Map<K, V> namedParameterBindPoints | |
| parameterCount | back to summary |
|---|---|
| pack-priv int parameterCount | |
| result | back to summary |
|---|---|
| pack-priv StringBuffer result | |
| ParameterSubstitutionRecognizer | back to summary |
|---|---|
| public ParameterSubstitutionRecognizer() | |
| addNamedParameter | back to summary |
|---|---|
| private void addNamedParameter(String name) | |
| jpaPositionalParameter | back to summary |
|---|---|
| public void jpaPositionalParameter(String name, int position) Implements org. | |
| namedParameter | back to summary |
|---|---|
| public void namedParameter(String name, int position) Implements org. | |
| ordinalParameter | back to summary |
|---|---|
| public void ordinalParameter(int position) Implements org. | |
| other | back to summary |
|---|---|
| public void other(char character) Implements org. | |
| outParameter | back to summary |
|---|---|
| public void outParameter(int position) Implements org. | |
| 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) | |