From 0051807a6c28dd0ebb425d05511fbf9127483ee1 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 12 Oct 2012 17:24:44 +0200 Subject: Completion of prepared query support --- odb/oracle/connection.hxx | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'odb/oracle/connection.hxx') diff --git a/odb/oracle/connection.hxx b/odb/oracle/connection.hxx index f494a80..38be958 100644 --- a/odb/oracle/connection.hxx +++ b/odb/oracle/connection.hxx @@ -16,6 +16,7 @@ #include #include +#include #include #include #include @@ -60,6 +61,21 @@ namespace odb virtual unsigned long long execute (const char* statement, std::size_t length); + // Query preparation. + // + public: + template + prepared_query + prepare_query (const char* name, const char*); + + template + prepared_query + prepare_query (const char* name, const std::string&); + + template + prepared_query + prepare_query (const char* name, const query&); + // SQL statement tracing. // public: @@ -138,6 +154,8 @@ namespace odb } } +#include + #include #endif // ODB_ORACLE_CONNECTION_HXX -- cgit v1.1