-
- All Superinterfaces:
- Clob
public interface NClob extends Clob
The mapping in the JavaTM 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
-
-
Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-java/sql/nclob.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.