aboutsummaryrefslogtreecommitdiff
path: root/odb/oracle/database.ixx
blob: 637b668f0b83f55a0081beae4ffdc070b8b5b48b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// file      : odb/oracle/database.ixx
// copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC
// license   : ODB NCUEL; see accompanying LICENSE file

namespace odb
{
  namespace oracle
  {
    inline connection_ptr database::
    connection ()
    {
      // Go through the virtual connection_() function instead of
      // directly to allow overriding.
      //
      return connection_ptr (
        static_cast<oracle::connection*> (connection_ ()));
    }
  }
}