Numeric Type Mapping
NUMBER by using the num field of the -typeMap command-line option.
The num field accepts any one of the following values:
| Values | Description | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
0
|
No mapping applies; NUMBER columns in the TimesTen database retain the same type, precision, and scale as in the Oracle database.
|
||||||||||
1
|
This is the default value. Standard numeric mapping is performed. ttImportFromOracle maps Oracle NUMBER(p,0) columns, with explicitly specified precision and a scale of 0, to compatible native TimesTen integer types whenever possible. The mappings are as follows:
|
||||||||||
2
|
ttImportFromOracle performs more aggressive type mapping for NUMBER columns.
It performs a full table scan to analyze the data in each However, instead of using the minimum defined precision, it uses the maximum precision required by the stored data (see Padding). This mode also supports the following additional mapping: p < 3 and no negative values - TT_TINYINT Columns containing non-integral values are mapped to the smallest |