org.dbunit.dataset.datatype
Class DefaultDataTypeFactory
java.lang.Object
org.dbunit.dataset.datatype.DefaultDataTypeFactory
- All Implemented Interfaces:
- IDataTypeFactory
- Direct Known Subclasses:
- Db2DataTypeFactory, H2DataTypeFactory, HsqldbDataTypeFactory, MsSqlDataTypeFactory, MySqlDataTypeFactory, OracleDataTypeFactory
public class DefaultDataTypeFactory
- extends Object
- implements IDataTypeFactory
Generic factory that handle standard JDBC types.
- Since:
- May 17, 2003
- Version:
- $Revision: 554 $
- Author:
- Manuel Laflamme
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultDataTypeFactory
public DefaultDataTypeFactory()
createDataType
public DataType createDataType(int sqlType,
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-2011. All Rights Reserved.