org.dbunit.ext.oracle
Class OracleDataTypeFactory
java.lang.Object
org.dbunit.dataset.datatype.DefaultDataTypeFactory
org.dbunit.ext.oracle.OracleDataTypeFactory
- All Implemented Interfaces:
- IDataTypeFactory, IDbProductRelatable
- Direct Known Subclasses:
- Oracle10DataTypeFactory
public class OracleDataTypeFactory
- extends DefaultDataTypeFactory
Specialized factory that recognizes Oracle data types.
- Since:
- Jul 17, 2003
- Version:
- $Revision: 1077 $
- Author:
- manuel.laflamme
|
Method Summary |
DataType |
createDataType(int sqlType,
java.lang.String sqlTypeName)
Returns the DataType object that corresponds to the specified
Types. |
java.util.Collection |
getValidDbProducts()
Returns a set of Strings representing database product names that this object relates to. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ORACLE_BLOB
public static final DataType ORACLE_BLOB
ORACLE_CLOB
public static final DataType ORACLE_CLOB
ORACLE_NCLOB
public static final DataType ORACLE_NCLOB
ORACLE_XMLTYPE
public static final DataType ORACLE_XMLTYPE
ORACLE_SDO_GEOMETRY_TYPE
public static final DataType ORACLE_SDO_GEOMETRY_TYPE
LONG_RAW
public static final DataType LONG_RAW
ROWID_TYPE
public static final DataType ROWID_TYPE
OracleDataTypeFactory
public OracleDataTypeFactory()
getValidDbProducts
public java.util.Collection getValidDbProducts()
- Description copied from interface:
IDbProductRelatable
- Returns a set of Strings representing database product names that this object relates to.
- Specified by:
getValidDbProducts in interface IDbProductRelatable- Overrides:
getValidDbProducts in class DefaultDataTypeFactory
- Returns:
- Set of Strings.
- See Also:
IDbProductRelatable.getValidDbProducts()
createDataType
public DataType createDataType(int sqlType,
java.lang.String sqlTypeName)
throws DataTypeException
- Description copied from interface:
IDataTypeFactory
- Returns the DataType object that corresponds to the specified
Types.
- Specified by:
createDataType in interface IDataTypeFactory- Overrides:
createDataType in class DefaultDataTypeFactory
- Parameters:
sqlType - SQL type from TypessqlTypeName - Data source dependent type name
- Throws:
DataTypeException- See Also:
IDataTypeFactory.createDataType(int, java.lang.String)
Copyright © 2002-2009. All Rights Reserved.