Class DB2TypeInfo
- java.lang.Object
-
- org.datanucleus.store.rdbms.schema.SQLTypeInfo
-
- org.datanucleus.store.rdbms.adapter.DB2TypeInfo
-
- All Implemented Interfaces:
org.datanucleus.store.schema.StoreSchemaData
public class DB2TypeInfo extends SQLTypeInfo
SQL Type info for DB2 datastores.
-
-
Field Summary
Fields Modifier and Type Field Description static int
DATALINK
sql type DATALINK-
Fields inherited from class org.datanucleus.store.rdbms.schema.SQLTypeInfo
allowsPrecisionSpec, autoIncrement, caseSensitive, createParams, dataType, fixedPrecScale, fromJdbcDriver, literalPrefix, literalSuffix, localTypeName, maximumScale, minimumScale, nullable, numPrecRadix, precision, searchable, typeName, unsignedAttribute
-
-
Constructor Summary
Constructors Constructor Description DB2TypeInfo(java.lang.String typeName, short dataType, int precision, java.lang.String literalPrefix, java.lang.String literalSuffix, java.lang.String createParams, int nullable, boolean caseSensitive, short searchable, boolean unsignedAttribute, boolean fixedPrecScale, boolean autoIncrement, java.lang.String localTypeName, short minimumScale, short maximumScale, int numPrecRadix)
DB2TypeInfo(java.sql.ResultSet rs)
Constructs a type information object from the current row of the given result set.
-
Method Summary
-
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, isCompatibleWith, isFixedPrecScale, isUnsignedAttribute, setAllowsPrecisionSpec, setLocalTypeName, setTypeName, toString, toString
-
-
-
-
Field Detail
-
DATALINK
public static final int DATALINK
sql type DATALINK- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DB2TypeInfo
public DB2TypeInfo(java.sql.ResultSet rs)
Constructs a type information object from the current row of the given result set.- Parameters:
rs
- The result set returned from DatabaseMetaData.getTypeInfo().
-
DB2TypeInfo
public DB2TypeInfo(java.lang.String typeName, short dataType, int precision, java.lang.String literalPrefix, java.lang.String literalSuffix, java.lang.String createParams, int nullable, boolean caseSensitive, short searchable, boolean unsignedAttribute, boolean fixedPrecScale, boolean autoIncrement, java.lang.String localTypeName, short minimumScale, short maximumScale, int numPrecRadix)
-
-