MDi JLib
1.7.4

com.microdeveloper.data
Interface OracleClobInterface

All Known Implementing Classes:
OracleClob

public interface OracleClobInterface

An Interface for accessing and manipulating Oracle CLOB data elements.

Since:
1.2
Version:
1.0
Author:
MicroDeveloper, Inc.

Method Summary
 void setClob(CLOB c)
          Sets the object value to the given CLOB.
 void setClob(String s)
          Sets the object value to the given String.
 String toString()
          Convert this CLOB to a String
 void truncate()
          Truncates (clears) the object value.
 CLOB truncate(CLOB c)
          Trunate the given CLOB returning an empty CLOB.
 

Method Detail

toString

String toString()
Convert this CLOB to a String

Overrides:
toString in class Object
Returns:
this as a String

setClob

void setClob(CLOB c)
             throws SQLException
Sets the object value to the given CLOB.

Parameters:
c - CLOB value
Throws:
SQLException - thrown if unable to set the CLOB value

setClob

void setClob(String s)
             throws SQLException
Sets the object value to the given String. The String is converted and stored as a CLOB.

Parameters:
s - String value (will be stored as a CLOB)
Throws:
SQLException - thrown if unable to set the CLOB value

truncate

void truncate()
              throws SQLException
Truncates (clears) the object value.

Throws:
SQLException - thrown if unable to clear the CLOB value

truncate

CLOB truncate(CLOB c)
              throws SQLException
Trunate the given CLOB returning an empty CLOB.

Parameters:
c - CLOB to truncate
Returns:
Empty CLOB (not null)
Throws:
SQLException - thrown if unable to clear the given CLOB value

MDi JLib
1.7.4

Copyright©2001-2007 MicroDeveloper, Inc. All Rights Reserved.