String queryString = regularStatement.getQueryString().toLowerCase().trim();
validateRawTypedQuery(entityClass, regularStatement, meta);
if (!queryString.contains("select *")) {
idMeta.forTypedQuery().validateTypedQuery(queryString);
}
}
public void validateRawTypedQuery(Class<?> entityClass, RegularStatement regularStatement, EntityMeta meta) {
log.debug("Validate raw typed query {}",regularStatement);