public interface OracleClob extends Clob
Clob
and defines methods for Oracle specific Clob .
Generally any new code should avoid the direct use of the class CLOB
.
For variable declarations use the interface Clob
or this interface as required.
Instead of the static methods
CLOB.createTemporary(java.sql.Connection, boolean, int)
and CLOB.empty_lob()
please use
Connection.createClob()
and
CLOB.getEmptyCLOB()
respectively.
Modifier and Type | Method and Description |
---|---|
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.
|
SQLXML |
toSQLXML()
Returns an object which impements java.sql.SQLXML with
content take from this Clob.
|
SQLXML |
toSQLXML(String schemaURL)
Returns an object which impements java.sql.SQLXML with
content taken from this Clob.
|
free, getAsciiStream, getCharacterStream, getCharacterStream, getSubString, length, position, position, setAsciiStream, setCharacterStream, setString, setString, truncate
void open(LargeObjectAccessMode mode) throws SQLException
SQLException
void close() throws SQLException
SQLException
boolean isOpen() throws SQLException
SQLException
boolean isTemporary() throws SQLException
SQLException
boolean isEmptyLob() throws SQLException
SQLException
empty_lob
boolean isSecureFile() throws SQLException
true
if this is a SecureFile (LOBs with the STORE
AS SECUREFILE option, which were introduced in Oracle Database 11g Release 1).true
if this is a SecureFile and false
otherwise.SQLException
SQLXML toSQLXML() throws SQLException
SQLException
SQLXML toSQLXML(String schemaURL) throws SQLException
SQLException
Copyright © 2008, 2016, Oracle. All rights reserved.