mybatis 对返回数据自定义处理TypeHandler

BaseTypeHandler


void setParameter(PreparedStatement ps, int i, T parameter, JdbcType jdbcType) throws SQLException;

T getResult(ResultSet rs, String columnName) throws SQLException;

T getResult(ResultSet rs, int columnIndex) throws SQLException;

T getResult(CallableStatement cs, int columnIndex) throws SQLException;

setParameter 对请求参数处理

getResult 对结果处理

 
                        typeHandler="ListTypeHandler"/>
     



你可能感兴趣的:(mybatis 对返回数据自定义处理TypeHandler)