diff options
author | Constantin Michael <constantin@codesynthesis.com> | 2011-09-14 10:10:36 +0200 |
---|---|---|
committer | Constantin Michael <constantin@codesynthesis.com> | 2011-09-14 10:10:36 +0200 |
commit | 5b650a2f0b506fb871beaab6de71e1f628b6baf7 (patch) | |
tree | 590f6927641e8ed7d5849d468da5c583a2467068 /odb/oracle/statement.hxx | |
parent | 3d76b241bc6af7f7f3beda3cc9d6609cf5db0f43 (diff) |
Implement LOB result callbacks using OCI LOB interface
Diffstat (limited to 'odb/oracle/statement.hxx')
-rw-r--r-- | odb/oracle/statement.hxx | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/odb/oracle/statement.hxx b/odb/oracle/statement.hxx index ffdb91a..3ab60bc 100644 --- a/odb/oracle/statement.hxx +++ b/odb/oracle/statement.hxx @@ -50,11 +50,6 @@ namespace odb void bind_result (bind*, std::size_t count); - // Finalize the result by invoking the user provided callbacks for the - // final time. - // - void finalize_result (bind*, std::size_t count); - protected: connection& conn_; auto_handle<OCIStmt> stmt_; @@ -69,7 +64,8 @@ namespace odb select_statement (connection& conn, const std::string& statement, binding& cond, - binding& data); + binding& data, + std::size_t lob_prefetch_len = 0); enum result { success, @@ -85,6 +81,11 @@ namespace odb void free_result (); + // Stream the result lobs, invoking user callbacks where necessary. + // + void + stream_result_lobs (); + private: select_statement (const select_statement&); select_statement& operator= (const select_statement&); |