summaryrefslogtreecommitdiff
path: root/odb/relational/oracle/context.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/relational/oracle/context.hxx')
-rw-r--r--odb/relational/oracle/context.hxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/odb/relational/oracle/context.hxx b/odb/relational/oracle/context.hxx
index 273f0e5..37716f0 100644
--- a/odb/relational/oracle/context.hxx
+++ b/odb/relational/oracle/context.hxx
@@ -5,6 +5,8 @@
#ifndef ODB_RELATIONAL_ORACLE_CONTEXT_HXX
#define ODB_RELATIONAL_ORACLE_CONTEXT_HXX
+#include <map>
+
#include <odb/relational/context.hxx>
namespace relational
@@ -73,8 +75,7 @@ namespace relational
{
public:
sql_type const&
- column_sql_type (semantics::data_member&,
- string const& key_prefix = string ());
+ parse_sql_type (string const&, semantics::data_member&);
public:
struct invalid_sql_type
@@ -126,6 +127,9 @@ namespace relational
struct data: base_context::data
{
data (std::ostream& os): base_context::data (os) {}
+
+ typedef std::map<string, sql_type> sql_type_cache;
+ sql_type_cache sql_type_cache_;
};
data* data_;
};