5 #ifndef ODB_ORACLE_CONNECTION_HXX
6 #define ODB_ORACLE_CONNECTION_HXX
12 #include <odb/details/buffer.hxx>
13 #include <odb/details/shared-ptr.hxx>
14 #include <odb/details/unique-ptr.hxx>
24 #include <odb/oracle/details/export.hxx>
30 class statement_cache;
60 virtual unsigned long long
61 execute (
const char*
statement, std::size_t length);
68 prepare_query (
const char* name,
const char*);
72 prepare_query (
const char* name,
const std::string&);
127 statement_cache_type&
130 return *statement_cache_;
157 details::unique_ptr<statement_cache_type> statement_cache_;
158 details::buffer lob_buffer_;
163 #include <odb/oracle/connection.ixx>
167 #endif // ODB_ORACLE_CONNECTION_HXX
Definition: transaction-impl.hxx:22
Definition: connection.hxx:35
details::shared_ptr< connection > connection_ptr
Definition: connection.hxx:32
database_type & database()
Definition: connection.hxx:48
tracer_type * tracer() const
Definition: tracer.hxx:20
Definition: query.hxx:165
struct OCISvcCtx OCISvcCtx
Definition: oracle-fwd.hxx:23
OCISvcCtx * handle()
Definition: connection.hxx:116
Definition: auto-handle.hxx:141
void tracer(tracer_type &t)
Definition: connection.hxx:88
oracle::statement_cache statement_cache_type
Definition: connection.hxx:38
statement_cache_type & statement_cache()
Definition: connection.hxx:128
Definition: statement.hxx:28
bool failed() const
Definition: connection.hxx:103
void mark_failed()
Definition: connection.hxx:109
struct OCIError OCIError
Definition: oracle-fwd.hxx:24
void tracer(tracer_type *t)
Definition: connection.hxx:94
details::buffer & lob_buffer()
Definition: connection.hxx:134
Definition: database.hxx:35
oracle::database database_type
Definition: connection.hxx:39
oracle::tracer tracer_type
Definition: connection.hxx:85
unsigned long long execute(const char *statement)
OCIError * error_handle()
Definition: connection.hxx:122
Definition: statement-cache.hxx:29