对于sql字段非空但插入值为空,将值转换为空的字符串
第一步:实现mybatls中的接口TypeHandler,其中有四个方法public String getResult(ResultSet arg0, String arg1) throws SQLException public String getResult(ResultSet arg0, int arg1) throws SQLExceptionpublic String ge
翻译
2017-10-19 17:59:04 ·
2369 阅读 ·
0 评论