RDMNClob(Reader reader)

Syntax:

RDMNClob(Reader reader) throws SQLException

Description:

Creates a NClob object that initially contains the supplied Reader which is available to be supplied to the setNClob methods of the Statement, PreparedStatement, or CallableStatement objects.

Throws:

SQLException - if an error occurs handling the bytes provided. Since NClobs are potentially very large the implementation caches the data using a file so not all of it has to reside in memory. The SQLException is thrown if there are I/O errors. dealing with the cache and its file.