diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-07-25 15:52:26 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-07-25 15:52:26 +0200 |
commit | 0a6a2fe64508497d287aa3341e667fe313912774 (patch) | |
tree | 72fa2a87eb3631438c0b14fd167349dc3492857d /odb/relational/oracle/context.cxx | |
parent | 62c19a34f1b32f084845ea51eba9b6fb910ef66b (diff) |
Simplify auto id implementation in Oracle
Specifically, instead of using a trigger to assign the next id from the
sequence, get the next value directly in the INSERT statement.
Diffstat (limited to 'odb/relational/oracle/context.cxx')
-rw-r--r-- | odb/relational/oracle/context.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/relational/oracle/context.cxx b/odb/relational/oracle/context.cxx index c0a7199..01b690a 100644 --- a/odb/relational/oracle/context.cxx +++ b/odb/relational/oracle/context.cxx @@ -79,7 +79,7 @@ namespace relational generate_grow = false; need_alias_as = false; - insert_send_auto_id = true; + insert_send_auto_id = false; delay_freeing_statement_result = false; need_image_clone = true; data_->bind_vector_ = "oracle::bind*"; |