Public Member Functions | |
DatabaseImpl () | |
DatabaseImpl (boost::shared_ptr< ConnectionPool > &connectionPool) | |
~DatabaseImpl () | |
Public Attributes | |
std::auto_ptr< DatabaseSession > | m_session |
std::auto_ptr< Transaction > | m_transaction |
Definition at line 15 of file Database.cc.
ora::DatabaseImpl::DatabaseImpl | ( | ) | [inline] |
Definition at line 17 of file Database.cc.
References m_session, and m_transaction.
{ m_session.reset( new DatabaseSession ); m_transaction.reset( new Transaction( *m_session )); }
ora::DatabaseImpl::DatabaseImpl | ( | boost::shared_ptr< ConnectionPool > & | connectionPool | ) | [inline] |
Definition at line 24 of file Database.cc.
References m_session, and m_transaction.
{ m_session.reset( new DatabaseSession( connectionPool ) ); m_transaction.reset( new Transaction( *m_session )) ; }
ora::DatabaseImpl::~DatabaseImpl | ( | ) | [inline] |
Definition at line 31 of file Database.cc.
std::auto_ptr<DatabaseSession> ora::DatabaseImpl::m_session |
Definition at line 34 of file Database.cc.
Referenced by DatabaseImpl().
std::auto_ptr<Transaction> ora::DatabaseImpl::m_transaction |
Definition at line 35 of file Database.cc.
Referenced by DatabaseImpl().