aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/oracle/object-result.txx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/oracle/object-result.txx b/odb/oracle/object-result.txx
index 6921088..5048601 100644
--- a/odb/oracle/object-result.txx
+++ b/odb/oracle/object-result.txx
@@ -43,13 +43,13 @@ namespace odb
typename object_traits::image_type& i (statements_.image ());
object_traits::init (obj, i, db);
+ statement_->stream_result ();
// Initialize the id image and binding and load the rest of the object
// (containers, etc).
//
typename object_traits::id_image_type& idi (statements_.id_image ());
object_traits::init (idi, object_traits::id (i));
- statement_->stream_result ();
binding& idb (statements_.id_image_binding ());
if (idi.version != statements_.id_image_version () || idb.version == 0)