public class MsSqlDataTypeFactory extends DefaultDataTypeFactory
Modifier and Type | Field and Description |
---|---|
static int |
NCHAR |
static int |
NTEXT |
static int |
NTEXT_MSSQL_2005 |
static int |
NVARCHAR |
Constructor and Description |
---|
MsSqlDataTypeFactory() |
Modifier and Type | Method and Description |
---|---|
DataType |
createDataType(int sqlType,
String sqlTypeName)
Returns the DataType object that corresponds to the specified
Types . |
Collection |
getValidDbProducts()
Returns a set of Strings representing database product names that this object relates to.
|
addToleratedDelta, createDataType, getToleratedDeltaMap, toString
public static final int NCHAR
public static final int NVARCHAR
public static final int NTEXT
public static final int NTEXT_MSSQL_2005
public Collection getValidDbProducts()
IDbProductRelatable
getValidDbProducts
in interface IDbProductRelatable
getValidDbProducts
in class DefaultDataTypeFactory
IDbProductRelatable.getValidDbProducts()
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–2017. All rights reserved.