diff options
-rw-r--r-- | odb/oracle/oracle-types.hxx | 1 | ||||
-rw-r--r-- | odb/oracle/statement.cxx | 25 |
2 files changed, 14 insertions, 12 deletions
diff --git a/odb/oracle/oracle-types.hxx b/odb/oracle/oracle-types.hxx index 33e0f33..e340071 100644 --- a/odb/oracle/oracle-types.hxx +++ b/odb/oracle/oracle-types.hxx @@ -81,6 +81,7 @@ namespace odb timestamp, // Buffer is a variable length char array. string, // Buffer is a variable length char array. nstring, // Buffer is a variable length char array. + raw, // Buffer is a variable length char array. blob, // Bind is a callback. clob, // Bind is a callback. nclob, // Bind is a callback. diff --git a/odb/oracle/statement.cxx b/odb/oracle/statement.cxx index ab0068c..8435d1f 100644 --- a/odb/oracle/statement.cxx +++ b/odb/oracle/statement.cxx @@ -28,18 +28,19 @@ namespace odb // static ub4 sqlt_lookup[bind::last] = { - SQLT_INT, - SQLT_UIN, - SQLT_BFLOAT, - SQLT_BDOUBLE, - SQLT_VNU, - SQLT_DAT, - SQLT_TIMESTAMP, - SQLT_CHR, - SQLT_CHR, - SQLT_BLOB, - SQLT_CLOB, - SQLT_CLOB + SQLT_INT, // bind::integer + SQLT_UIN, // bind::uinteger + SQLT_BFLOAT, // bind::binary_float + SQLT_BDOUBLE, // bind::binary_double + SQLT_VNU, // bind::number + SQLT_DAT, // bind::date + SQLT_TIMESTAMP, // bind::timestamp + SQLT_CHR, // bind::string + SQLT_CHR, // bind::nstring + SQLT_BIN, // bind::raw + SQLT_BLOB, // bind::blob + SQLT_CLOB, // bind::clob + SQLT_CLOB // bind::nclob }; static sb4 |