clause.append(property)
.append(".key")
.append(" = '")
.append(sc.getKey()+"'");
} else if(BaseEntity.class.isAssignableFrom(ret.getClass())) {
BaseEntity be = (BaseEntity) ret;
clause.append(property)
.append(".id")
.append(" = ")
.append(be.getId());
} else if (Integer.class.isAssignableFrom(ret.getClass()) ||
Float.class.isAssignableFrom(ret.getClass()) ||
Long.class.isAssignableFrom(ret.getClass()) ||
Double.class.isAssignableFrom(ret.getClass()) ||
BigDecimal.class.isAssignableFrom(ret.getClass()) ||