mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 17:18:24 +08:00
fix: fixed NPE and close #I8UTJC
This commit is contained in:
parent
3ab5230d58
commit
ff915cc5bb
@ -149,7 +149,9 @@ public class ColumnInfo {
|
||||
if (configuration == null) {
|
||||
configuration = FlexGlobalConfig.getDefaultConfig().getConfiguration();
|
||||
}
|
||||
buildTypeHandler = configuration.getTypeHandlerRegistry().getTypeHandler(propertyType);
|
||||
if (configuration != null) {
|
||||
buildTypeHandler = configuration.getTypeHandlerRegistry().getTypeHandler(propertyType);
|
||||
}
|
||||
}
|
||||
|
||||
return buildTypeHandler;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user