Output Binding of Data
Applications must follow the type mapping rules as defined in Datatypes for output binding, and bind compatible types accordingly. For example, an RWDBValue::char type is stored internally as Oracle NUMBER(d) and retrieved as a C++ long. To retrieve the type properly, you must bind a buffer of type RWDBTBuffer<long> or a compatible type. Trying to retrieve this as an RWDBTBuffer<char> will result in undefined errors.