From d79a821138367d3212109e837ee07fb51d52a9cd Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 18 Nov 2011 16:40:07 +0200 Subject: Add missing factory creation code --- odb/oracle/database.cxx | 5 +++++ 1 file changed, 5 insertions(+) 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:: -- cgit v1.1