Java Utililty Methods SQL Clob

List of utility methods to do SQL Clob

Description

The list of methods to do SQL Clob are organized into topic(s).

Method

StringparseToString(Clob clob)
clob parse to string
return parseToString(clob, null);
Stringread(Clob c)
read
StringBuilder sb = new StringBuilder((int) c.length());
Reader r = c.getCharacterStream();
char[] cbuf = new char[CLOBBUFFERSIZE];
int n;
while ((n = r.read(cbuf, 0, cbuf.length)) != -1) {
    sb.append(cbuf, 0, n);
return sb.toString();
...
StringreadStringClob(Clob content)
read String Clob
if (content == null) {
    return null;
Reader reader = content.getCharacterStream();
BufferedReader in = new BufferedReader(reader);
StringBuilder rc = new StringBuilder();
char[] chars = new char[256];
int count;
...