try {
Clob clob = resultSet.getClob("FCT_PARTY");
if (clob != null && clob.length() > 0) {
char[] c = new char[(int) clob.length()];
Reader reader = clob.getCharacterStream();
reader.read(c);
fygg.setParty(new String(c));
reader.close();
}
} catch (IOException e) {
logger.error("column {}.FCT_PARTY read failed.", tableName, e);
}
2016/04/11
Oracle Clob 格式处理