setString Method (long, java.lang.String, int, int)
Writes the given string to the CLOB starting at the given position, based on the given offset and length.
public int setString(long pos,
java.lang.String str,
int offset,
int len)
Parámetros
pos
The position at which to start writing to the CLOB.
str
The string to be written to the CLOB.
offset
The offset within the string to start reading the characters from.
len
The number of characters to be written.
Valor devuelto
The number of characters written.
Excepciones
java.sql.SQLException
Notas
This setString method is specified by the setString method in the java.sql.Clob interface.
Character data is overwritten starting at the specified position and can overwrite the initial length of the CLOB. Specifying a position+1 value will append the string. Specifying a position+2 or greater (or zero or less) value will cause a position error to be thrown.
Vea también
Referencia
Conceptos
setString Method (SQLServerClob)
SQLServerClob Methods
SQLServerClob Members