diff options
author | Constantin Michael <constantin@codesynthesis.com> | 2011-11-15 12:03:08 +0200 |
---|---|---|
committer | Constantin Michael <constantin@codesynthesis.com> | 2011-11-15 12:03:08 +0200 |
commit | e00784c2cfb8fa8a33ff6e7812aeac2aff608daf (patch) | |
tree | 5b876bc57389f3816fd9708c9b116adc51eccd9c /odb/relational/source.hxx | |
parent | f764c6469b8969c28ce04ffe00367717fc3030e0 (diff) |
Add call to select_statement::stream_data for container types in Oracle
Diffstat (limited to 'odb/relational/source.hxx')
-rw-r--r-- | odb/relational/source.hxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/odb/relational/source.hxx b/odb/relational/source.hxx index 7961636..0003021 100644 --- a/odb/relational/source.hxx +++ b/odb/relational/source.hxx @@ -808,6 +808,14 @@ namespace relational os << statement << ".cache ();"; } + // Additional statements that need to be executed follow the call to init + // that initializes the query result image can be made here. + // + virtual void + init_value_extra () + { + } + virtual void traverse_composite (semantics::data_member* m, semantics::class_& c) { @@ -1642,6 +1650,9 @@ namespace relational } } + + init_value_extra (); + // If we are loading an eager pointer, then the call to init // above executes other statements which potentially could // change the image. |