mirror of https://gitee.com/makejava/EasyCode.git
添加类型映射
This commit is contained in:
parent
98f4fb98c2
commit
a9ce35251b
|
@ -123,6 +123,7 @@ public class Settings implements PersistentStateComponent<Settings> {
|
|||
TypeMapperGroup typeMapperGroup = new TypeMapperGroup();
|
||||
List<TypeMapper> typeMapperList = new ArrayList<>();
|
||||
typeMapperList.add(new TypeMapper("varchar(\\(\\d+\\))?", "java.lang.String"));
|
||||
typeMapperList.add(new TypeMapper("char(\\(\\d+\\))?", "java.lang.String"));
|
||||
typeMapperList.add(new TypeMapper("text", "java.lang.String"));
|
||||
typeMapperList.add(new TypeMapper("decimal(\\(\\d+\\))?", "java.lang.Double"));
|
||||
typeMapperList.add(new TypeMapper("integer", "java.lang.Integer"));
|
||||
|
|
Loading…
Reference in New Issue