diff options
-rw-r--r-- | odb/oracle/statement.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/odb/oracle/statement.cxx b/odb/oracle/statement.cxx index 01d5b23..6d5d154 100644 --- a/odb/oracle/statement.cxx +++ b/odb/oracle/statement.cxx @@ -313,6 +313,14 @@ namespace odb b->buffer = &lob_buffer; + // When binding LOB parameters, the capacity must be greater than + // than 4000 and less than the maximum LOB length in bytes. If it + // is not, OCI returns an error. Other than this, the capacity + // seems to be irrelevant to OCI bind behaviour for LOB parameters + // when used with callbacks. + // + b->capacity = 4096; + break; } default: |