Mencoba Tautan yang Dikirim oleh @Roberto Navaron , Berhasil, baru saja meneruskan objek ke metode ini, ketik cast to clob dan mengembalikan string
private String clobToString(Clob data) {
StringBuilder sb = new StringBuilder();
try {
Reader reader = data.getCharacterStream();
BufferedReader br = new BufferedReader(reader);
String line;
while(null != (line = br.readLine())) {
sb.append(line);
}
br.close();
} catch (SQLException e) {
// handle this exception
} catch (IOException e) {
// handle this exception
}
return sb.toString();
}