return;
}
try {
Class<?> entityClass = criteria.getPersistentClass();
SearchTranslationManager searchManager = new SearchTranslationManager(criteria.getAlias(), subject,
SearchSubsystem.get(entityClass));
searchManager.setExpression(searchExpression);
// translate first, if there was an error we won't add the dangling 'AND' to the where clause
String translatedJPQL = searchManager.getJPQLWhereFragment();
LOG.debug("Translated JPQL Fragment was: " + translatedJPQL);
if (translatedJPQL != null) {
searchExpressionWhereClause = translatedJPQL;
}
} catch (SearchExpressionException see) {