现在的位置: 首页 > 综合 > 正文

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

2014年09月05日 ⁄ 综合 ⁄ 共 307字 ⁄ 字号 评论关闭

解决思路: <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).


抱歉!评论已关闭.