summaryrefslogtreecommitdiff
path: root/odb/oracle/transaction.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2024-02-01 15:47:37 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-02-01 15:47:37 +0300
commit62e234c114d2b6ead93a1d39593c66b648c3d0a6 (patch)
treece6740b4508eb29400490b20efc8e100e38a7b7f /odb/oracle/transaction.hxx
parent9072842a023c4b65ecb141292c4b63417fee1b98 (diff)
Turn libodb-oracle repository into package for muti-package repositorylibodb-oracle
Diffstat (limited to 'odb/oracle/transaction.hxx')
-rw-r--r--odb/oracle/transaction.hxx88
1 files changed, 0 insertions, 88 deletions
diff --git a/odb/oracle/transaction.hxx b/odb/oracle/transaction.hxx
deleted file mode 100644
index 8d06b2f..0000000
--- a/odb/oracle/transaction.hxx
+++ /dev/null
@@ -1,88 +0,0 @@
-// file : odb/oracle/transaction.hxx
-// license : ODB NCUEL; see accompanying LICENSE file
-
-#ifndef ODB_ORACLE_TRANSACTION_HXX
-#define ODB_ORACLE_TRANSACTION_HXX
-
-#include <odb/pre.hxx>
-
-#include <odb/transaction.hxx>
-
-#include <odb/oracle/version.hxx>
-#include <odb/oracle/forward.hxx>
-#include <odb/oracle/tracer.hxx>
-
-#include <odb/oracle/details/export.hxx>
-
-namespace odb
-{
- namespace oracle
- {
- class transaction_impl;
-
- class LIBODB_ORACLE_EXPORT transaction: public odb::transaction
- {
- public:
- typedef oracle::database database_type;
- typedef oracle::connection connection_type;
-
- explicit
- transaction (transaction_impl*, bool make_current = true);
-
- transaction ();
-
- // Return the database this transaction is on.
- //
- database_type&
- database ();
-
- // Return the underlying database connection for this transaction.
- //
- connection_type&
- connection ();
-
- connection_type&
- connection (odb::database&);
-
- // Return current transaction or throw if there is no transaction
- // in effect.
- //
- static transaction&
- current ();
-
- // Set the current thread's transaction.
- //
- static void
- current (transaction&);
-
- // SQL statement tracing.
- //
- public:
- typedef oracle::tracer tracer_type;
-
- void
- tracer (tracer_type& t)
- {
- odb::transaction::tracer (t);
- }
-
- void
- tracer (tracer_type* t)
- {
- odb::transaction::tracer (t);
- }
-
- using odb::transaction::tracer;
-
- public:
- transaction_impl&
- implementation ();
- };
- }
-}
-
-#include <odb/oracle/transaction.ixx>
-
-#include <odb/post.hxx>
-
-#endif // ODB_ORACLE_TRANSACTION_HXX