DB2
DataDirect database drivers support DB2 data types.
DB2 Data Type | JDBC Data Type |
---|---|
BIGINT | BIGINT |
BLOB | BLOB |
CHAR | CHAR |
CLOB | CLOB |
DATE | DATE or TIMESTAMP |
DECIMAL | DECIMAL |
DOUBLE | DOUBLE |
FLOAT | FLOAT |
GRAPHIC | CHAR or NCHAR |
INTEGER | INTEGER |
LONG VARCHAR | LONG VARCHAR |
LONG VARGRAPHIC | LONGVARCHAR or LONGNVARCHAR |
NUMERIC | NUMERIC |
REAL | REAL |
SMALLINT | SMALLINT |
TIME | TIME |
TIMESTAMP | TIMESTAMP |
VARCHAR | VARCHAR |
Limitations of Using DB2 Data Types
Note: When you select the DB2 OS390 database from the
Vendor list in the
Configuration tab, note the following conditions:
- When creating a table that includes these data types, BLOB, CLOB, and VARCHAR, you can create the publishing table by selecting Publish by Reference storage mode.
- When creating a table with the CLOB or BLOB as the data type, and the data maximum value exceeds 32K limit, then the Subscription Service will not accept the data.
- When creating procedure, datatype LONGVARCHAR and LONGVARGRAPHIC are not supported in DB2 for zOS.
- When creating an opaque exception table, you need to create a new LOB table space first, and then create the corresponding auxiliary table and the index.
- When you insert a table with DECIMAL or NUMERIC data type into a project, if you request the numbers with high precision, you need to choose string instead of r8 in AE Type in the Table tab.
Copyright © Cloud Software Group, Inc. All Rights Reserved.