public class MySQLTypeInfo extends SQLTypeInfo
allowsPrecisionSpec, autoIncrement, caseSensitive, createParams, dataType, fixedPrecScale, literalPrefix, literalSuffix, localTypeName, maximumScale, minimumScale, nullable, numPrecRadix, precision, searchable, typeName, unsignedAttribute
Constructor and Description |
---|
MySQLTypeInfo(ResultSet rs)
Constructor
|
MySQLTypeInfo(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) |
Modifier and Type | Method and Description |
---|---|
boolean |
isCompatibleWith(RDBMSColumnInfo colInfo)
Utility to check the compatibility of this type with the supplied Column type.
|
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, toString
public MySQLTypeInfo(ResultSet rs)
rs
- Result set from the database metadatapublic MySQLTypeInfo(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)
public boolean isCompatibleWith(RDBMSColumnInfo colInfo)
isCompatibleWith
in class SQLTypeInfo
colInfo
- The Column typeCopyright © 2020. All rights reserved.