Class TypeInfo


  • public class TypeInfo
    extends java.lang.Object
    Models type info extracted from DatabaseMetaData.getTypeInfo()
    • Method Detail

      • extractTypeInfo

        public static java.util.LinkedHashSet<TypeInfo> extractTypeInfo​(java.sql.DatabaseMetaData metaData)
        Extract the type information from the JDBC driver's DatabaseMetaData
        Parameters:
        metaData - The JDBC metadata
        Returns:
        The extracted type info
      • getTypeName

        public java.lang.String getTypeName()
      • getJdbcTypeCode

        public int getJdbcTypeCode()
      • getCreateParams

        public java.lang.String[] getCreateParams()
      • isUnsigned

        public boolean isUnsigned()
      • getPrecision

        public int getPrecision()
      • getMinimumScale

        public short getMinimumScale()
      • getMaximumScale

        public short getMaximumScale()
      • isFixedPrecisionScale

        public boolean isFixedPrecisionScale()
      • getLiteralPrefix

        public java.lang.String getLiteralPrefix()
      • getLiteralSuffix

        public java.lang.String getLiteralSuffix()
      • isCaseSensitive

        public boolean isCaseSensitive()