RDMClob(Reader reader)


RDMClob(Reader reader) throws SQLException


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


SQLException - if an error occurs handling the bytes provided. Since Clobs 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.