org.dbunit.ext.hsqldb
Class HsqldbDataTypeFactory
java.lang.Object
org.dbunit.dataset.datatype.DefaultDataTypeFactory
org.dbunit.ext.hsqldb.HsqldbDataTypeFactory
- All Implemented Interfaces:
- IDataTypeFactory, IDbProductRelatable
public class HsqldbDataTypeFactory
- extends DefaultDataTypeFactory
Specialized factory that recognizes HSQLDB data types.
- Since:
- 2.2.0
- Version:
- $Revision: 1031 $ $Date: 2009-09-12 10:13:43 -0500 (Sat, 12 Sep 2009) $
- Author:
- Klas Axell, Last changed by: $Author: gommma $
HsqldbDataTypeFactory
public HsqldbDataTypeFactory()
getValidDbProducts
public 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,
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
- See Also:
IDataTypeFactory.createDataType(int, java.lang.String)
Copyright © 2002-2012. All Rights Reserved.