// 如果使用cache并且sql中有一个in语句,mappedClass必须含有特定属性,必须a in (...),则mappedClass必须含有a属性
throw new NotReadablePropertyException("if use cache and sql has one in clause, property "
+ interableProperty + " of " + mappedClass + " expected readable but not");
}
} else if (aips.size() != 0) {
throw new IncorrectSqlException("if use cache, sql's in clause expected less than or equal 1 but "
+ aips.size()); // 如果使用cache,sql中的in语句不能超过1
}
}
}