Class JdbcDataType


  • public class JdbcDataType
    extends Object
    Models a JDBC data type. Mainly breaks down into 3 pieces of information:
    • type code - The JDBC type code; generally matches a code from Types though not necessarily.
    • type name - The database type name for the given type code.
    • getJavaType() java type} - The java type recommended for representing this JDBC type (if known)
    • Constructor Detail

      • JdbcDataType

        public JdbcDataType​(int typeCode,
                            String typeName,
                            Class javaType)
    • Method Detail

      • getTypeCode

        public int getTypeCode()
      • getTypeName

        public String getTypeName()
      • getJavaType

        public Class getJavaType()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object