NClob (Java Platform SE 6) (original) (raw)
java.sql
Interface NClob
All Superinterfaces:
public interface NClob
extends Clob
The mapping in the JavaTM programming language for the SQL NCLOB
type. An SQL NCLOB
is a built-in type that stores a Character Large Object using the National Character Set as a column value in a row of a database table.
The NClob
interface extends the Clob
interface which provides provides methods for getting the length of an SQL NCLOB
value, for materializing a NCLOB
value on the client, and for searching for a substring or NCLOB
object within aNCLOB
value. A NClob
object, just like a Clob
object, is valid for the duration of the transaction in which it was created. Methods in the interfaces ResultSet,CallableStatement, and PreparedStatement, such asgetNClob
and setNClob
allow a programmer to access an SQL NCLOB
value. In addition, this interface has methods for updating a NCLOB
value.
All methods on the NClob
interface must be fully implemented if the JDBC driver supports the data type.
Since:
1.6
Method Summary |
---|
Methods inherited from interface java.sql.Clob |
---|
free, getAsciiStream, getCharacterStream, [getCharacterStream](../../java/sql/Clob.html#getCharacterStream%28long, long%29), [getSubString](../../java/sql/Clob.html#getSubString%28long, int%29), length, [position](../../java/sql/Clob.html#position%28java.sql.Clob, long%29), [position](../../java/sql/Clob.html#position%28java.lang.String, long%29), setAsciiStream, setCharacterStream, [setString](../../java/sql/Clob.html#setString%28long, java.lang.String%29), [setString](../../java/sql/Clob.html#setString%28long, java.lang.String, int, int%29), truncate |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
Scripting on this page tracks web page traffic, but does not change the content in any way.