diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-10-12 17:24:44 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-10-12 17:24:44 +0200 |
commit | 0051807a6c28dd0ebb425d05511fbf9127483ee1 (patch) | |
tree | 0591323ddc132ff666d3edb0d2c9717a25437cba /odb/oracle/database.hxx | |
parent | 745e3ddf00303f6fed4e3962647c4eb11ee64816 (diff) |
Completion of prepared query support
Diffstat (limited to 'odb/oracle/database.hxx')
-rw-r--r-- | odb/oracle/database.hxx | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/odb/oracle/database.hxx b/odb/oracle/database.hxx index da98228..c03ce49 100644 --- a/odb/oracle/database.hxx +++ b/odb/oracle/database.hxx @@ -268,6 +268,22 @@ namespace odb result<T> query (const oracle::query<T>&); + // Query preparation. + // + template <typename T> + prepared_query<T> + prepare_query (const char* name, const char*); + + template <typename T> + prepared_query<T> + prepare_query (const char* name, const std::string&); + + template <typename T> + prepared_query<T> + prepare_query (const char* name, const oracle::query<T>&); + + // Transactions. + // public: virtual transaction_impl* begin (); |