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

Methods

Modifier and Type Method Description
String getName()

Returns the SQLType name that represents a SQL data type.

String getVendor()

Returns the name of the vendor that supports this data type.

Integer getVendorTypeNumber()

Returns the vendor specific type number for the data type.

Methods

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

© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/11/docs/api/java.sql/java/sql/SQLType.html