}
else if (streamable instanceof ClobType) {
ClobType clob = (ClobType)streamable;
return new ByteLobChunkStream(new ReaderInputStream(clob.getCharacterStream(), Charset.forName(Streamable.ENCODING)), chunkSize);
}
BlobType blob = (BlobType)streamable;
return new ByteLobChunkStream(blob.getBinaryStream(), chunkSize);
} catch(SQLException e) {
throw new IOException(e);
}
}