- java.lang.Object
-
- org.hsqldb.jdbc.JDBCClob
-
- org.hsqldb.jdbc.JDBCNClob
-
- All Implemented Interfaces:
java.sql.Clob,java.sql.NClob
public class JDBCNClob extends JDBCClob implements java.sql.NClob
The mapping in the Java™ programming language for the SQLNCLOBtype. An SQLNCLOBis 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
NClobinterface extends theClobinterface which provides methods for getting the length of an SQLNCLOBvalue, for materializing aNCLOBvalue on the client, and for searching for a substring orNCLOBobject within aNCLOBvalue. ANClobobject, just like aClobobject, is valid for the duration of the transaction in which it was created. Methods in the interfacesResultSet,CallableStatement, andPreparedStatement, such asgetNClobandsetNCloballow a programmer to access an SQLNCLOBvalue. In addition, this interface has methods for updating aNCLOBvalue.HSQLDB-Specific Information:
First, it should be noted that since HSQLDB represents all character data internally as Java UNICODE (UTF16) String objects, there is not currently any appreciable difference between the HSQLDB XXXCHAR types and the SQL 2003 NXXXCHAR and NCLOB types.See
JDBCClobfor further information.- Since:
- JDK 1.6, HSQLDB 2.7.3
- Author:
- Campbell Burnet (campbell-burnet@users dot sourceforge.net)
- See Also:
JDBCClob,JDBCClobClient
-
-
Constructor Summary
Constructors Constructor Description JDBCNClob(java.lang.String data)
-
Method Summary
-
Methods inherited from class org.hsqldb.jdbc.JDBCClob
free, getAsciiStream, getCharacterStream, getCharacterStream, getSubString, length, position, position, setAsciiStream, setCharacterStream, setString, setString, setStringBuffer, truncate
-
-