aboutsummaryrefslogtreecommitdiff
path: root/odb/oracle/view-result.txx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/oracle/view-result.txx')
-rw-r--r--odb/oracle/view-result.txx8
1 files changed, 7 insertions, 1 deletions
diff --git a/odb/oracle/view-result.txx b/odb/oracle/view-result.txx
index 9488e2b..ed9b411 100644
--- a/odb/oracle/view-result.txx
+++ b/odb/oracle/view-result.txx
@@ -52,7 +52,13 @@ namespace odb
use_copy_ ? *image_copy_ : statements_.image (),
db);
- statement_->stream_result ();
+ // If we are using a copy, make sure the callback information for
+ // LOB data also comes from the copy.
+ //
+ statement_->stream_result (
+ use_copy_ ? &statements_.image () : 0,
+ use_copy_ ? image_copy_ : 0);
+
view_traits::callback (db, view, callback_event::post_load);
}