org.dbunit.ext.oracle
Class OracleXMLTypeDataType

java.lang.Object
  extended by org.dbunit.dataset.datatype.DataType
      extended by org.dbunit.dataset.datatype.AbstractDataType
          extended by org.dbunit.dataset.datatype.BytesDataType
              extended by org.dbunit.dataset.datatype.BlobDataType
                  extended by org.dbunit.ext.oracle.OracleXMLTypeDataType

public class OracleXMLTypeDataType
extends BlobDataType

TODO UnitTests are completely missing

Since:
2.4.0
Version:
$Revision: 812 $ $Date: 2008-09-25 20:03:43 +0200 (Thu, 25 Sep 2008) $
Author:
Phil Barr, Last changed by: $Author: gommma $

Field Summary
 
Fields inherited from class org.dbunit.dataset.datatype.DataType
BIGINT, BINARY, BIT, BLOB, BOOLEAN, CHAR, CLOB, DATE, DECIMAL, DOUBLE, FLOAT, INTEGER, LONGVARBINARY, LONGVARCHAR, NUMERIC, REAL, SMALLINT, TIME, TIMESTAMP, TINYINT, UNKNOWN, VARBINARY, VARCHAR
 
Constructor Summary
OracleXMLTypeDataType()
           
 
Method Summary
 Object getSqlValue(int column, ResultSet resultSet)
          Returns the specified column value from the specified resultset object.
 void setSqlValue(Object value, int column, PreparedStatement statement)
          Set the specified value to the specified prepared statement object.
 
Methods inherited from class org.dbunit.dataset.datatype.BytesDataType
compare, compareNonNulls, typeCast
 
Methods inherited from class org.dbunit.dataset.datatype.AbstractDataType
areObjectsEqual, compare, getSqlType, getTypeClass, isDateTime, isNumber, loadClass, loadClass, 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

OracleXMLTypeDataType

public OracleXMLTypeDataType()
Method Detail

getSqlValue

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

Overrides:
getSqlValue in class BlobDataType
Throws:
SQLException
TypeCastException

setSqlValue

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

Overrides:
setSqlValue in class BlobDataType
Throws:
SQLException
TypeCastException


Copyright © 2002-2012. All Rights Reserved.