fatalmind::oracleFactory< TM, SLMDC > Class Template Reference

#include <Factory.hh>

Inherits fatalmind::SQL::SQLFactoryInterface.

List of all members.


Detailed Description

template<class TM, template< class > class SLMDC = oracle::SelectListMetaDataCache>
class fatalmind::oracleFactory< TM, SLMDC >

A Factory for a oracle database connection (session).

Thats the place where you configure which database user and password to use.

Public Types

enum  databaseType_t { UNDEF, OCI, MYSQL, MYSQLTX }

Public Member Functions

 oracleFactory (const std::string &service_name, const std::string &user, const std::string &pass)
 oracleFactory (const std::string &logon)
 oracleFactory (const oracleFactory &)
oracleResource< TM > * create_resource () const
databaseType_t getDatabaseType () const
Clone * clone () const
template<class Derived>
Derived * clone () const

Protected Member Functions

virtual Clone * DoClone () const


Constructor & Destructor Documentation

template<class TM, template< class > class SLMDC>
fatalmind::oracleFactory< TM, SLMDC >::oracleFactory ( const std::string &  service_name,
const std::string &  user,
const std::string &  pass 
) [inline]

Parameters:
service_name the TNS name of the database Starting with Oracle 10g you can also use the syntax [//]host[:port][/service name]
user the user name
pass the users password

template<class TM, template< class > class SLMDC>
fatalmind::oracleFactory< TM, SLMDC >::oracleFactory ( const std::string &  logon  )  [inline]

Parameters:
logon user/pass


The documentation for this class was generated from the following files:

Generated on Mon Jun 9 11:27:03 2008 for ResourcePool by  doxygen 1.5.5