Oracle ODB Runtime Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
transaction-impl.hxx
Go to the documentation of this file.
1 // file : odb/oracle/transaction-impl.hxx
2 // copyright : Copyright (c) 2009-2013 Code Synthesis Tools CC
3 // license : ODB NCUEL; see accompanying LICENSE file
4 
5 #ifndef ODB_ORACLE_TRANSACTION_IMPL_HXX
6 #define ODB_ORACLE_TRANSACTION_IMPL_HXX
7 
8 #include <odb/pre.hxx>
9 
10 #include <odb/transaction.hxx>
11 
12 #include <odb/oracle/version.hxx>
13 #include <odb/oracle/forward.hxx>
15 
16 #include <odb/oracle/details/export.hxx>
17 
18 namespace odb
19 {
20  namespace oracle
21  {
22  class LIBODB_ORACLE_EXPORT transaction_impl: public odb::transaction_impl
23  {
24  public:
27 
30 
31  virtual
32  ~transaction_impl ();
33 
34  virtual void
35  start ();
36 
37  virtual void
38  commit ();
39 
40  virtual void
41  rollback ();
42 
44  connection ();
45 
46  private:
47  connection_ptr connection_;
48  };
49  }
50 }
51 
52 #include <odb/oracle/transaction-impl.ixx>
53 
54 #include <odb/post.hxx>
55 
56 #endif // ODB_ORACLE_TRANSACTION_IMPL_HXX
oracle::connection connection_type
Definition: transaction-impl.hxx:26
Definition: transaction-impl.hxx:22
Definition: connection.hxx:35
details::shared_ptr< connection > connection_ptr
Definition: connection.hxx:32
Definition: database.hxx:35
oracle::database database_type
Definition: transaction-impl.hxx:25