translate
public HQLCriteria translate(CQLQuery query,
boolean eliminateSubclasses,
boolean caseSensitive)
throws QueryException
Translates a CQL query into an HQL string. This translation process assumes the
CQL Query has passed validation. Processing of invalid CQL may or may not procede
with undefined results.
- Parameters:
query
- The CQL Query to translate into HQL
eliminateSubclasses
- A flag indicating that the query should be formulated to avoid
returning subclass instances of the targeted class.
- Returns:
- Throws:
QueryException