Oracle JDBC API Reference
11g Release 2 ("11.2.0.3.0")

oracle.jdbc
Interface OracleClob

All Superinterfaces:
java.sql.Clob
All Known Implementing Classes:
CLOB, NCLOB

public interface OracleClob
extends java.sql.Clob

Since:
release specific (what release of product did this appear in)

Method Summary
 void close()
          Close a previously opened CLOB.
 boolean isEmptyLob()
          Return true if this is a empty lob.
 boolean isOpen()
          Check whether the CLOB is opened.
 boolean isSecureFile()
          Returns true if this is a SecureFile (LOBs with the STORE AS SECUREFILE option, which were introduced in Oracle Database 11g Release 1).
 boolean isTemporary()
          Return true if the lob locator points to a temporary clob.
 void open(LargeObjectAccessMode mode)
          Open a CLOB in the indicated mode.
 
Methods inherited from interface java.sql.Clob
getAsciiStream, getCharacterStream, getSubString, length, position, position, setAsciiStream, setCharacterStream, setString, setString, truncate
 

Method Detail

open

void open(LargeObjectAccessMode mode)
          throws java.sql.SQLException
Open a CLOB in the indicated mode. Valid modes include MODE_READONLY, and MODE_READWRITE. It is an error to open the same LOB twice.

Throws:
java.sql.SQLException
Since:
8.2.0

close

void close()
           throws java.sql.SQLException
Close a previously opened CLOB.

Throws:
java.sql.SQLException
Since:
8.2.0

isOpen

boolean isOpen()
               throws java.sql.SQLException
Check whether the CLOB is opened.

Returns:
true if the LOB is opened.
Throws:
java.sql.SQLException
Since:
8.2.0

isTemporary

boolean isTemporary()
                    throws java.sql.SQLException
Return true if the lob locator points to a temporary clob. False if it does not.

Returns:
true if the lob locator points to a temporary clob. False if it does not.
Throws:
java.sql.SQLException
Since:
8.2.0

isEmptyLob

boolean isEmptyLob()
                   throws java.sql.SQLException
Return true if this is a empty lob.

Returns:
true if this is a empty lob.
Throws:
java.sql.SQLException
Since:
8.1.7
See Also:
empty_lob

isSecureFile

boolean isSecureFile()
                     throws java.sql.SQLException
Returns true if this is a SecureFile (LOBs with the STORE AS SECUREFILE option, which were introduced in Oracle Database 11g Release 1).

Returns:
true if this is a SecureFile and false otherwise.
Throws:
java.sql.SQLException

Oracle JDBC API Reference
11g Release 2 ("11.2.0.3.0")

Copyright © 1998, 2007, Oracle. All rights reserved.