GetElementType Method
Applies To
OCollection
Description
This method returns integer code representing the server type of an element.
Usage
int GetElementType(void) const throw(OException)
Arguments
Remarks
The codes correspond to the Oracle external datatypes. The following Oracle
element data types are supported:
Constant
| Value
| External Data Type
|
OTYPE_VARCHAR2
| -
| VARCHAR2
|
OTYPE_NUMBER
| 2
| NUMBER
|
OTYPE_SINT
| 3
| SIGNED INTEGER
|
OTYPE_FLOAT
| 4
| FLOAT
|
OTYPE_VARCHAR
| 9
| VARCHAR
|
OTYPE_DATE
| 12
| DATE
|
OTYPE_UINT
| 68
| UNSIGNED INTEGER
|
OTYPE_CHAR
| 96
| CHAR
|
OTYPE_CHARZ
| 97
| Null Terminated CHAR
|
OTYPE_OBJECT
| 108
| Object datatype
|
OTYPE_REF
| 110
| Ref datatype
|
This property is read-only at runtime.
Contents