mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-19 20:15:46 +00:00
1 file changed
+2
@@ -617,6 +617,8 @@ public class OrmManager implements IOrmManager {
|
|||||||
} else if (clazz.equals(List.class) || clazz.equals(Set.class) || clazz.equals(Map.class)) {
|
} else if (clazz.equals(List.class) || clazz.equals(Set.class) || clazz.equals(Map.class)) {
|
||||||
// ORM不支持集合嵌套数组类型
|
// ORM不支持集合嵌套数组类型
|
||||||
throw new RunException("orm do not support the combination of arrays and collections with the class:[{}] type:[{}]", currentEntityClass.getSimpleName(), clazz.getSimpleName());
|
throw new RunException("orm do not support the combination of arrays and collections with the class:[{}] type:[{}]", currentEntityClass.getSimpleName(), clazz.getSimpleName());
|
||||||
|
} else if (clazz.equals(currentEntityClass)) {
|
||||||
|
return false;
|
||||||
} else {
|
} else {
|
||||||
return hasUnsafeCollection(clazz);
|
return hasUnsafeCollection(clazz);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user