Interface NClob
-
- All Superinterfaces:
- Clob
public interface NClob extends Clob
The mapping in the Java™ programming language for the SQLNCLOB
type. An SQLNCLOB
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 theClob
interface which provides provides methods for getting the length of an SQLNCLOB
value, for materializing aNCLOB
value on the client, and for searching for a substring orNCLOB
object within aNCLOB
value. ANClob
object, just like aClob
object, is valid for the duration of the transaction in which it was created. Methods in the interfacesResultSet
,CallableStatement
, andPreparedStatement
, such asgetNClob
andsetNClob
allow a programmer to access an SQLNCLOB
value. In addition, this interface has methods for updating aNCLOB
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, getSubString, length, position, position, setAsciiStream, setCharacterStream, setString, setString, truncate
-
-
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.