Module java.sql
Package java.sql

Interface SQLType

  • All Known Implementing Classes:
    JDBCType


    public interface SQLType
    An object that is used to identify a generic SQL type, called a JDBC type or a vendor specific data type.
    Since:
    1.8
    • Method Detail

      • getName

        String getName​()
        Returns the SQLType name that represents a SQL data type.
        Returns:
        The name of this SQLType.
      • getVendor

        String getVendor​()
        Returns the name of the vendor that supports this data type. The value returned typically is the package name for this vendor.
        Returns:
        The name of the vendor for this data type
      • getVendorTypeNumber

        Integer getVendorTypeNumber​()
        Returns the vendor specific type number for the data type.
        Returns:
        An Integer representing the vendor specific data type