mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 17:18:24 +08:00
optimize: 添加异常修复说明。
This commit is contained in:
parent
12bd776c9a
commit
462c8cea64
@ -55,11 +55,11 @@ public class ModifyAttrsRecordProxyFactory {
|
||||
|
||||
T proxyObject = null;
|
||||
try {
|
||||
//noinspection unchecked
|
||||
// noinspection unchecked
|
||||
proxyObject = (T) ClassUtil.newInstance(proxyClass);
|
||||
((ProxyObject) proxyObject).setHandler(new ModifyAttrsRecordHandler());
|
||||
} catch (Exception e) {
|
||||
LogFactory.getLog(ModifyAttrsRecordProxyFactory.class).error(e.toString(), e);
|
||||
LogFactory.getLog(ModifyAttrsRecordProxyFactory.class).error("请为实体类添加公开的无参构造器!", e);
|
||||
}
|
||||
|
||||
return proxyObject;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user