org.dbunit.ext.hsqldb
Class HsqldbDataTypeFactory
java.lang.Object
org.dbunit.dataset.datatype.DefaultDataTypeFactory
org.dbunit.ext.hsqldb.HsqldbDataTypeFactory
- All Implemented Interfaces:
- IDataTypeFactory
public class HsqldbDataTypeFactory
- extends DefaultDataTypeFactory
Specialized factory that recognizes Hsqldb data types.
TODO: this class is pretty much the same as H2DataTypeFactory
, so they should derive from a common
superclass - see issue 1897620
- Author:
- Klas Axell
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HsqldbDataTypeFactory
public HsqldbDataTypeFactory()
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
- Overrides:
createDataType
in class DefaultDataTypeFactory
- Parameters:
sqlType
- SQL type from Types
sqlTypeName
- Data source dependent type name
- Throws:
DataTypeException
Copyright © 2002-2011. All Rights Reserved.