public class HQLQueryStrategy extends QueryStrategy
Constructor and Description |
---|
HQLQueryStrategy() |
Modifier and Type | Method and Description |
---|---|
String |
buildHQLQuery(Properties templateProperties,
String ddc,
String query)
Builds a HQL query out of the given parameters.
|
boolean |
isSpecialQuery(String query)
Searches for '=' and ' like ' in the given query string.
|
public boolean isSpecialQuery(String query)
isSpecialQuery
in class QueryStrategy
query
- The user query to be mapped to HQL.public String buildHQLQuery(Properties templateProperties, String ddc, String query)
buildHQLQuery
in class QueryStrategy
templateProperties
- The properties to be used to build the HQL query.ddc
- The DDC to be used to build the HQL query.query
- The user query to be mapped to HQL.Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.