diff options
-rw-r--r-- | odb/oracle/database.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/odb/oracle/database.cxx b/odb/oracle/database.cxx index 8c20faa..63b4424 100644 --- a/odb/oracle/database.cxx +++ b/odb/oracle/database.cxx @@ -49,6 +49,11 @@ namespace odb auto_environment_.reset (environment_); } + + if (factory_.get () == 0) + factory_.reset (new connection_pool_factory ()); + + factory_->database (*this); } database:: |