RDMNClob(Reader reader)


RDMNClob(Reader reader) throws SQLException


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.


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.