![]() |
AnCH Framework
0.1
Another C++ Hack Framework
|
SQL connection factory. More...
#include <sqlConnectionFactory.hpp>
Public Member Functions | |
| Connection * | createConnection (const std::string &name) throw (SqlException) |
| SqlConnectionPool & | getPool (const std::string &name) throw (SqlException) |
Additional Inherited Members | |
Static Public Member Functions inherited from anch::Singleton< SqlConnectionFactory > | |
| static SqlConnectionFactory & | getInstance () |
SQL connection factory.
| Connection * SqlConnectionFactory::createConnection | ( | const std::string & | name | ) | |
| throw | ( | SqlException | |||
| ) | |||||
Create a new database connection.
| name | the connection name |
| SqlConnectionPool & SqlConnectionFactory::getPool | ( | const std::string & | name | ) | |
| throw | ( | SqlException | |||
| ) | |||||
Retrieve SQL connection pool
| name | the pool name |
1.8.11