首页 > 其他分享 >mybatis plus数组问题

mybatis plus数组问题

时间:2022-10-18 14:48:17浏览次数:45  
标签:TableField typeHandler TableName plus autoResultMap 数组 mybatis

mybatisplus使用如果使用long[]或者其他数组,添加TableName中 autoResultMap = true时TableField的typeHandler才会生效
@TableName(schema = "public", value = "aa", autoResultMap = true)

@TableField(value = "target_type", jdbcType = JdbcType.ARRAY, typeHandler = ArrayTypeHandler.class)

标签:TableField,typeHandler,TableName,plus,autoResultMap,数组,mybatis
From: https://www.cnblogs.com/ronaldHU/p/16802476.html

相关文章