}
if (!StringUtil.isNumeric(orm.getLogMaxSize())) {
sb.append("当前您填写的:( logMaxSize=").append(orm.getLogMaxSize())
.append(" )是错误的!它只能填写为数字,注意单位是“兆”(M);").append("\n");
}
DBInfoXmlFiles dbInfos = orm.getDbInfoXmlFiles();
boolean flag = false;
if (dbInfos != null && dbInfos.getPath() != null) {
for (String s : dbInfos.getPath()) {
if (s == null || s.trim().length() == 0) {
flag = true;
break;
}
}
}
if (flag || dbInfos == null || dbInfos.getPath() == null
|| dbInfos.getPath().size() == 0) {
sb.append("当前您填写的:( dbInfoXmlFiles=")
.append(dbInfos)
.append(" )是错误的!在您已经打开ORM模块的前提下,它不能留空, 参考填写:mysql.xml;")
.append("\n");
}