}
sql.append(" FROM host ");
sql.append("WHERE identifier='" + id + "'");
//sql.append("working=" + DbConnectionFactory.getDBTrue().replaceAll("'", ""));
SQLQueryFactory sqlQueryFactory = new SQLQueryFactory(sql.toString());
Query query = sqlQueryFactory.getQuery();
List<Map<String, Serializable>> list = APILocator.getContentletAPI().DBSearch(query, user, respectFrontendRoles);
if (1 < list.size())
Logger.error(this, "More of one working version of host match the same identifier " + id + "!!");
else if (list.size() == 0)