diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-10-08 16:09:08 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-10-08 16:09:08 +0200 |
commit | 745e3ddf00303f6fed4e3962647c4eb11ee64816 (patch) | |
tree | 3ab2ce1b6709e8d3f8b41b0499cdc58f190110b1 /odb/oracle/database.cxx | |
parent | d20629df902528e9112d146d97e0523104a46619 (diff) |
Ground work for multi-database support
All generated code now includes database id. The database-specific
database class interface has been updated to include all the database
operations. The database-specific tests now use this interface.
Diffstat (limited to 'odb/oracle/database.cxx')
-rw-r--r-- | odb/oracle/database.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/odb/oracle/database.cxx b/odb/oracle/database.cxx index bb086f6..e71eb40 100644 --- a/odb/oracle/database.cxx +++ b/odb/oracle/database.cxx @@ -28,7 +28,8 @@ namespace odb ub2 ncharset, OCIEnv* environment, transfer_ptr<connection_factory> factory) - : user_ (user), + : odb::database (id_oracle), + user_ (user), password_ (password), db_ (db), port_ (0), @@ -67,7 +68,8 @@ namespace odb ub2 ncharset, OCIEnv* environment, transfer_ptr<connection_factory> factory) - : user_ (user), + : odb::database (id_oracle), + user_ (user), password_ (password), service_ (service), host_ (host), @@ -125,7 +127,8 @@ namespace odb ub2 ncharset, OCIEnv* environment, transfer_ptr<connection_factory> factory) - : port_ (0), + : odb::database (id_oracle), + port_ (0), charset_ (charset), ncharset_ (ncharset), environment_ (environment), |