Neoview JDBC Type 4 Driver API Reference (R2.2, R2.3, R2.4, R2.5)

represents, at position
pos
.
Specified by:
setCharacterStream in interface java.sql.Clob
Parameters:
pos - the position at which to start writing to the CLOB value
Returns:
a stream to which Unicode encoded characters can be written
Throws:
java.sql.SQLException - if there is an error accessing the CLOB value
See Also:
getCharacterStream()
setString
public int setString(long pos,
java.lang.String str)
throws java.sql.SQLException
Writes the given Java String to the CLOB value that this Clob object designates at the position pos.
Specified by:
setString in interface java.sql.Clob
Parameters:
pos - the position at which to start writing to the CLOB value that this Clob object represents
str - the string to be written to the CLOB value that this Clob designates
Returns:
the number of characters written
Throws:
java.sql.SQLException - if there is an error accessing the CLOB value
setString
public int setString(long pos,
java.lang.String str,
int offset,
int len)
throws java.sql.SQLException
Writes len characters of str, starting at character offset, to the CLOB value that this Clob represents.
Specified by:
setString in interface java.sql.Clob
Parameters:
pos - the position at which to start writing to this CLOB object
str - the string to be written to the CLOB value that this Clob object represents
offset - the offset into str to start reading the characters to be written
len - the number of characters to be written
Returns:
the number of characters written
Throws:
java.sql.SQLException - if there is an error accessing the CLOB value