Class JdbcDataType

  • public class JdbcDataType
    extends java.lang.Object
    Models a JDBC DATATYPE. 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 Summary

      Constructor Description
      JdbcDataType​(int typeCode, java.lang.String typeName, java.lang.Class javaType)  
    • Constructor Detail

      • JdbcDataType

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

      • getTypeCode

        public int getTypeCode()
      • getTypeName

        public java.lang.String getTypeName()
      • getJavaType

        public java.lang.Class getJavaType()
      • hashCode

        public int hashCode()
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object