|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.dbunit.dataset.datatype.DefaultDataTypeFactory
org.dbunit.ext.h2.H2DataTypeFactory
public class H2DataTypeFactory
Specialized factory that recognizes H2 data types.
TODO: this class is pretty much the same as HsqldbDataTypeFactory
, so they should derive from a common
superclass - see issue 1897620
Constructor Summary | |
---|---|
H2DataTypeFactory()
|
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 |
---|
public H2DataTypeFactory()
Method Detail |
---|
public DataType createDataType(int sqlType, java.lang.String sqlTypeName) throws DataTypeException
IDataTypeFactory
Types
.
createDataType
in interface IDataTypeFactory
createDataType
in class DefaultDataTypeFactory
sqlType
- SQL type from Types
sqlTypeName
- Data source dependent type name
DataTypeException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |