提交 1a1bf2dd 编写于 作者: S Serge Rider

#8169 Cleanup only transient collection fields cache (we need them in some...

#8169 Cleanup only transient collection fields cache (we need them in some cases, e.g. PG proc parameters)
上级 533ffdd8
......@@ -314,7 +314,7 @@ public abstract class AbstractObjectCache<OWNER extends DBSObject, OBJECT extend
((DBSObjectCache) dstValue).clearCache();
}
} else if (Collection.class.isAssignableFrom(field.getType())) {
if (dstValue != null) {
if (Modifier.isTransient(modifiers) && dstValue != null) {
((Collection) dstValue).clear();
}
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册