Class TypeInfo

java.lang.Object
org.hibernate.engine.jdbc.spi.TypeInfo

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

    • extractTypeInfo

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

      public String getTypeName()
    • getJdbcTypeCode

      public int getJdbcTypeCode()
    • getCreateParams

      public String[] getCreateParams()
    • isUnsigned

      public boolean isUnsigned()
    • getPrecision

      public int getPrecision()
    • getMinimumScale

      public short getMinimumScale()
    • getMaximumScale

      public short getMaximumScale()
    • isFixedPrecisionScale

      public boolean isFixedPrecisionScale()
    • getLiteralPrefix

      public String getLiteralPrefix()
    • getLiteralSuffix

      public String getLiteralSuffix()
    • isCaseSensitive

      public boolean isCaseSensitive()
    • getSearchability

      public TypeSearchability getSearchability()
    • getNullability

      public TypeNullability getNullability()