This proposal is not yet final
JDBC 4.4 : JDBC 4.5
Module java.sql
Package java.sql

Interface NClob

public abstract interface NClob
extends java.sql.Clob
Comparing JDBC 4.4 and JDBC 4.5
All Superinterfaces:
AutoCloseable, Clob

public interface NClob extends Clob
The mapping in the Java 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 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 a NCLOB 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 as getNClob and setNClob allow a programmer to access an SQL NCLOB value. In addition, this interface has methods for updating a NCLOB value.

To release resources used by the NClob object, applications must call either the Clob.free() or the Clob.close() method. Any attempt to invoke a method other than Clob.free() or Clob.close() after the NClob object has been closed, will result in a SQLException being thrown.

All methods on the NClob interface must be fully implemented if the JDBC driver supports the data type.

Since:
1.6

Summary

Differences
Elements Comments Descriptions Total
Added Changed Removed Added Changed Removed Added Changed Removed
NClob 10 10
Total 10 10