1 /* 2 * %W% %E% 3 * 4 * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 5 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 6 */ 7 8 package java.sql; 9 10 import java.sql.Clob; 11 12 /** 13 * The mapping in the Java<sup><font size=-2>TM</font></sup> programming language 14 * for the SQL <code>NCLOB</code> type. 15 * An SQL <code>NCLOB</code> is a built-in type 16 * that stores a Character Large Object using the National Character Set 17 * as a column value in a row of a database table. 18 * <P>The <code>NClob</code> interface extends the <code>Clob</code> interface 19 * which provides provides methods for getting the 20 * length of an SQL <code>NCLOB</code> value, 21 * for materializing a <code>NCLOB</code> value on the client, and for 22 * searching for a substring or <code>NCLOB</code> object within a 23 * <code>NCLOB</code> value. A <code>NClob</code> object, just like a <code>Clob</code> object, is valid for the duration 24 * of the transaction in which it was created. 25 * Methods in the interfaces {@link ResultSet}, 26 * {@link CallableStatement}, and {@link PreparedStatement}, such as 27 * <code>getNClob</code> and <code>setNClob</code> allow a programmer to 28 * access an SQL <code>NCLOB</code> value. In addition, this interface 29 * has methods for updating a <code>NCLOB</code> value. 30 * <p> 31 * All methods on the <code>NClob</code> interface must be fully implemented if the 32 * JDBC driver supports the data type. 33 * 34 * @since 1.6 35 */ 36 37 public interface NClob extends Clob { } 38