C++ ResourcePool is a library which can be used to pool resources of every kind. It can also be used as an abstraction layer by providing a unique API for different resources of similar resource types; the most prominent examples are SQL databases. It includes a convenient way to access MySQL and Oracle databases in the same way, so that changing from MySQL to Oracle or vice-versa does not need big code changes.
| Tags | Database API Software Development Libraries |
|---|---|
| Licenses | GPL |
| Operating Systems | POSIX |
| Implementation | C++ |
Recent releases


Changes: This release fixes a bug that caused errors not correctly propagated to the client code in certain cases when using a BatchCommand against an Oracle database. The build process has been improved a little bit.


Changes: Major code cleanup for SQLStatement and SQLExecute was done, resulting in significant performance gains.


Changes: The SQLStatement class was introduced as an explicit type for SQL statements. Previously, SQL statements were passed around as std::string. Implicit conversion will allow old code to work without change. Some more code cleanup and performance improvements were done. Some portability issues have been fixed so that this release was successfully tested on Solaris, Mac OS X, and Linux with various GCC compiler versions (3.3 through 4.3) and Intel's C++ compiler (v10).


Changes: Refactoring was done to make the client code less tightly coupled to a specific database when using ResourcePool. Some more code cleanup was done that resulted in slightly better performance.


Changes: This release fixes a bug in the example code as well as a minor memory leak in the Oracle driver. The code was cleaned up to avoid unnecessary templates, improve exception safety, and make better usage of constants. The binary is about 5% smaller and performs a little bit better.