org.dbunit.ext.oracle
Class OracleClobDataType

java.lang.Object
  extended by org.dbunit.dataset.datatype.DataType
      extended by org.dbunit.dataset.datatype.AbstractDataType
          extended by org.dbunit.dataset.datatype.StringDataType
              extended by org.dbunit.dataset.datatype.ClobDataType
                  extended by org.dbunit.ext.oracle.OracleClobDataType
Direct Known Subclasses:
OracleNClobDataType

public class OracleClobDataType
extends ClobDataType

Since:
Jan 12, 2004
Version:
$Revision: 629 $
Author:
Manuel Laflamme

Field Summary
 
Fields inherited from class org.dbunit.dataset.datatype.DataType
BIGINT, BINARY, BLOB, BOOLEAN, CHAR, CLOB, DATE, DECIMAL, DOUBLE, FLOAT, INTEGER, LONGVARBINARY, LONGVARCHAR, NUMERIC, REAL, SMALLINT, TIME, TIMESTAMP, TINYINT, UNKNOWN, VARBINARY, VARCHAR
 
Constructor Summary
OracleClobDataType()
           
 
Method Summary
protected  void freeTemporaryClob(java.lang.Object tempClob)
           
protected  java.lang.Object getClob(java.lang.Object value, java.sql.Connection connection)
           
 java.lang.Object getSqlValue(int column, java.sql.ResultSet resultSet)
          Returns the specified column value from the specified resultset object.
 void setSqlValue(java.lang.Object value, int column, java.sql.PreparedStatement statement)
          Set the specified value to the specified prepared statement object.
 
Methods inherited from class org.dbunit.dataset.datatype.StringDataType
typeCast
 
Methods inherited from class org.dbunit.dataset.datatype.AbstractDataType
compare, getSqlType, getTypeClass, isDateTime, isNumber, toString
 
Methods inherited from class org.dbunit.dataset.datatype.DataType
asString, forObject, forSqlType, forSqlTypeName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OracleClobDataType

public OracleClobDataType()
Method Detail

getSqlValue

public java.lang.Object getSqlValue(int column,
                                    java.sql.ResultSet resultSet)
                             throws java.sql.SQLException,
                                    TypeCastException
Description copied from class: DataType
Returns the specified column value from the specified resultset object.

Overrides:
getSqlValue in class ClobDataType
Throws:
java.sql.SQLException
TypeCastException

setSqlValue

public void setSqlValue(java.lang.Object value,
                        int column,
                        java.sql.PreparedStatement statement)
                 throws java.sql.SQLException,
                        TypeCastException
Description copied from class: DataType
Set the specified value to the specified prepared statement object.

Overrides:
setSqlValue in class ClobDataType
Throws:
java.sql.SQLException
TypeCastException

getClob

protected java.lang.Object getClob(java.lang.Object value,
                                   java.sql.Connection connection)
                            throws TypeCastException
Throws:
TypeCastException

freeTemporaryClob

protected void freeTemporaryClob(java.lang.Object tempClob)
                          throws TypeCastException
Throws:
TypeCastException


Copyright © 2002-2008. All Rights Reserved.