|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.datanucleus.store.rdbms.schema.SQLTypeInfo
org.datanucleus.store.rdbms.schema.MSSQLTypeInfo
public class MSSQLTypeInfo
SQL Type info for MSSQL datastores.
| Field Summary | |
|---|---|
static int |
NTEXT
sql type NTEXT |
static int |
NVARCHAR
sql type NVARCHAR |
static int |
UNIQUEIDENTIFIER
sql type UNIQUEIDENTIFIER |
| Fields inherited from class org.datanucleus.store.rdbms.schema.SQLTypeInfo |
|---|
allowsPrecisionSpec, autoIncrement, caseSensitive, createParams, dataType, fixedPrecScale, literalPrefix, literalSuffix, localTypeName, maximumScale, minimumScale, nullable, numPrecRadix, precision, searchable, typeName, unsignedAttribute |
| Constructor Summary | |
|---|---|
MSSQLTypeInfo(ResultSet rs)
Constructs a type information object from the current row of the given result set. |
|
MSSQLTypeInfo(String typeName,
short dataType,
int precision,
String literalPrefix,
String literalSuffix,
String createParams,
int nullable,
boolean caseSensitive,
short searchable,
boolean unsignedAttribute,
boolean fixedPrecScale,
boolean autoIncrement,
String localTypeName,
short minimumScale,
short maximumScale,
int numPrecRadix)
|
|
| Method Summary | |
|---|---|
boolean |
isCompatibleWith(RDBMSColumnInfo colInfo)
Convenience method for returning if this type is compatible with the provided column. |
| Methods inherited from class org.datanucleus.store.rdbms.schema.SQLTypeInfo |
|---|
addProperty, equals, getCreateParams, getDataType, getLiteralPrefix, getLiteralSuffix, getLocalTypeName, getMaximumScale, getMinimumScale, getNullable, getNumPrecRadix, getPrecision, getProperty, getSearchable, getTypeName, hashCode, isAllowsPrecisionSpec, isAutoIncrement, isCaseSensitive, isFixedPrecScale, isUnsignedAttribute, setAllowsPrecisionSpec, setLocalTypeName, setTypeName, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int NVARCHAR
public static final int NTEXT
public static final int UNIQUEIDENTIFIER
| Constructor Detail |
|---|
public MSSQLTypeInfo(ResultSet rs)
rs - The result set returned from DatabaseMetaData.getTypeInfo().
public MSSQLTypeInfo(String typeName,
short dataType,
int precision,
String literalPrefix,
String literalSuffix,
String createParams,
int nullable,
boolean caseSensitive,
short searchable,
boolean unsignedAttribute,
boolean fixedPrecScale,
boolean autoIncrement,
String localTypeName,
short minimumScale,
short maximumScale,
int numPrecRadix)
| Method Detail |
|---|
public boolean isCompatibleWith(RDBMSColumnInfo colInfo)
SQLTypeInfo
isCompatibleWith in class SQLTypeInfocolInfo - The column
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||