org.dbunit.dataset.datatype
Class DefaultDataTypeFactory

java.lang.Object
  extended byorg.dbunit.dataset.datatype.DefaultDataTypeFactory
All Implemented Interfaces:
IDataTypeFactory
Direct Known Subclasses:
Db2DataTypeFactory, MsSqlDataTypeFactory, MySqlDataTypeFactory, OracleDataTypeFactory

public class DefaultDataTypeFactory
extends java.lang.Object
implements IDataTypeFactory

Generic factory that handle standard JDBC types.

Since:
May 17, 2003
Version:
$Revision: 1.5 $
Author:
Manuel Laflamme

Constructor Summary
DefaultDataTypeFactory()
           
 
Method Summary
 DataType createDataType(int sqlType, java.lang.String sqlTypeName)
          Returns the DataType object that corresponds to the specified Types.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDataTypeFactory

public DefaultDataTypeFactory()
Method Detail

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
Parameters:
sqlType - SQL type from Types
sqlTypeName - Data source dependent type name
Throws:
DataTypeException


Copyright © 2002-2004 DbUnit.org. All Rights Reserved.