javax.sql.Clob methods supported

The javax.sql.Clob interface represents the mapping in Java™ for the SQL CLOB type. In Java applications that use the IMS Universal drivers, the Clob data type is supported only for the retrieval and storage of XML data.

The following table describes which methods are supported by the IMS Universal JDBC driver and the IMS Universal JCA/JDBC driver for the Clob interface.

Table 1. IMS Universal JDBC driver and IMS Universal JCA/JDBC driver support for the Clob interface
JDBC method IMS Universal JDBC driver and IMS Universal JCA/JDBC driver support
free() No
getAsciiStream() Yes
getCharacterStream() Yes
getCharacterStream(long pos, long length) No
getSubString(long pos, int length) Yes
length() Yes
position(Clob searchstr, long start) No
position(String searchstr, long start) No
setAsciiStream(long pos) No
setCharacterStream(long pos) No
setString(long pos, String str) No
setString(long pos, String str, int offset, int len) No
truncate(long len) No