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 Details

  • Constructor Details

    • DB2TypeInfo

      public DB2TypeInfo(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(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)