/**
* Clob转String
*
* @param resultList
* @return
*/
public static void clob4String(List<Map> resultList) {
for (Map map : resultList) {
ClobProxyImpl clob = (ClobProxyImpl) map.get("text");
if (clob != null) {
Clob text = clob.getRawClob();
String res = null;
try {
res = (text == null ? null : text.getSubString(1, (int) text.length()));
} catch (SQLException e) {
e.printStackTrace();
}
map.put("text", res);
}
}
}