public class MySqlDataTypeFactory extends DefaultDataTypeFactory
Modifier and Type | Field and Description |
---|---|
static String |
SQL_TYPE_NAME_TINYINT_UNSIGNED |
static String |
UNSIGNED_SUFFIX |
Constructor and Description |
---|
MySqlDataTypeFactory() |
Modifier and Type | Method and Description |
---|---|
DataType |
createDataType(int sqlType,
String sqlTypeName)
Returns the DataType object that corresponds to the specified
Types . |
addToleratedDelta, createDataType, getToleratedDeltaMap
public static final String UNSIGNED_SUFFIX
public static final String SQL_TYPE_NAME_TINYINT_UNSIGNED
public DataType createDataType(int sqlType, String sqlTypeName) throws DataTypeException
IDataTypeFactory
Types
.createDataType
in interface IDataTypeFactory
createDataType
in class DefaultDataTypeFactory
sqlType
- SQL type from Types
sqlTypeName
- Data source dependent type nameDataTypeException
IDataTypeFactory.createDataType(int, java.lang.String)
Copyright © 2002-2012. All Rights Reserved.