// quickly detect if sql string is a key
if (sqlString.indexOf(' ') != -1) {
return sqlString;
}
QueryMap queryMap = DbManager.getInstance().getQueryMap();
if (queryMap != null) {
String sqlFromMap = queryMap.getQuery(sqlString);
if (sqlFromMap != null) {
sqlString = sqlFromMap.trim();
}
}