mybatis-generator 无法自动生成字段类型为text的属性

来源:互联网 发布:淘宝卖自产自销农产品 编辑:程序博客网 时间:2024/06/05 03:41

解决思路: <columnOverride column="your column" jdbcType="VARCHAR" />

The fully qualified Java Type of the property for this column. This can be used to override the type calculated by the JavaTypeResolver if required. For some databases, this is necessary to handle "odd" database types (e.g. MySql's unsigned bigint type should be mapped to java.lang.Object).



0 0
原创粉丝点击