The following table lists data types supported by the driver and how they are mapped to JDBC data types.

See "getTypeInfo()" for getTypeInfo() results of data types supported by the driver.

Note: This data type mapping is supported for all SAP ODATA V2 services exposed through the SAP Gateway, including S/4HANA and BW/4HANA.
Table 1. SAP S/4Hana Data Types
SAP S/4Hana Data Type JDBC Data Type
BINARY VARBINARY
BOOLEAN BOOLEAN
BYTE SMALLINT
DATETIME TIMESTAMP
DATETIMEOFFSET TIMESTAMP
DECIMAL DECIMAL
DOUBLE DOUBLE
GUID CHAR
INT16 SMALLINT
INT32 INTEGER
INT64 BIGINT
SBYTE TINYINT
SINGLE REAL
STRING VARCHAR
TIMEOFDAY TIME