Mapping an SQL Data Type to a JADE Primitive Type
The following table lists the ANSI SQL data types and the JADE primitive types to which they are mapped by default.
ANSI SQL Data Type | JADE Primitive Type |
---|---|
BINARY, VARBINARY, LONGVARBINARY |
|
BIT |
|
CHAR(1), TINYINT |
|
CHAR, VARCHAR, LONGVARCHAR |
|
DECIMAL and NUMERIC (precision and scale factor) |
|
REAL, FLOAT, DOUBLE |
|
INTEGER, SMALLINT |
|
BIGINT (64-bit integer) |
|
DATE |
|
TIME |
|
TIMESTAMP |
|
Some external databases may have restrictions in the use of specific SQL data types, which the user may need to be aware of when changing data in those databases.