for (int i = 0; i < bean.getLocalSearchAttributes().size(); i++)
{
SearchAttribute attr = bean.getLocalSearchAttributes().get(i);
if (!attr.belongsToRelationship())
{
if (localSearchCondition.equals(""))
localSearchCondition += "\r\n";
localSearchCondition += "\t\t\tqb.addTextWhere(\"upper(o." + attr.getName() + ") like upper('%\" + localSearch" + Utils.makeFirstLetterUpperCase(attr.getName()) + " + \"%')\", localSearch" + Utils.makeFirstLetterUpperCase(attr.getName()) + ");\r\n";