Oracle Datatype | RWDBValue::ValueType | C++ Datatype |
---|---|---|
CHAR(n) VARCHAR2(n) | String | |
NCHAR(n) NVARCHAR2(n) | UString | |
LONG | String | |
CLOB | String | |
RAW(n) LONG RAW | Blob | |
BLOB | Blob | |
NUMBER(p,0) 0 < p < 101 | Long | long int |
NUMBER(p,0) 10 <= p < 191 | LongLong | long long |
NUMBER(p,0) p >= 19 | Decimal | |
NUMBER(p,s) 0 < p < 101 | Double | double |
NUMBER(p,s) p >= 10 | Decimal | |
NUMBER | Decimal | |
FLOAT(p) | Double | double |
BINARY_FLOAT | Float | float |
BINARY_DOUBLE | Double | double |
DATE2 | DateTime | |
ROWID | String | |
MLSLABEL | String | |
DateTime |
RWDBValue::ValueType | Oracle Datatype |
---|---|
Blob | BLOB, if nativeType of the RWDBColumn is SQLT_BLOB RAW(n), using the storageLength of the RWDBColumn for value n, if 0 < storageLength <= 2000 LONG RAW otherwise |
Char UnsignedChar | NUMBER(d), where d is the number of digits needed to store the maximum value a char can express on the client machine |
Date | DATE |
DateTime | DATE if useTimestamp() is false1 TIMESTAMP(p), using precision of RWDBColumn, if useTimestamp() is true and precision is specified TIMESTAMP otherwise |
Decimal | |
Double | FLOAT(126) |
Duration | Not supported by DB Access Module for Oracle OCI. |
Float | |
Int UnsignedInt | NUMBER(d), where d is the number of digits needed to store the maximum value an int can express on the client machine |
Long UnsignedLong | NUMBER(d), where d is the number of digits needed to store the maximum value a long can express on the client machine |
LongLong UnsignedLongLong | NUMBER(d) where d is the number of digits needed to store the maximum value a long long can express on the client machine |
MBString UString WString | |
Short UnsignedShort Tiny UnsignedTiny | NUMBER(d), where d is the number of digits needed to store the maximum value a short can express on the client machine |
String | CLOB, if nativeType of the RWDBColumn is SQLT_CLOB VARCHAR2(n), using the storageLength of the RWDBColumn, if 0 < storageLength <= 4000 LONG otherwise |
NoType | If nativeType of the RWDBColumn is: SQLT_NUM, then NUMBER(p,s), using precision and scale of the RWDBColumn SQLT_RDD, then ROWID SQLT_BFLOAT or SQLT_IBFLOAT, then BINARY_FLOAT SQLT_BDOUBLE or SQLT_IBDOUBLE, then BINARY_DOUBLE |