Tntdb is a c++-class-library for database access. It implements a database-independent layer, which loads the actual driver dynamically when a connection is made. The classes use automatic resource management with reference counts. Resources are freed when the classes go out of scope. Error handling is done with exceptions (derived from std::exception). There are STL-like iterators for result sets and rows, and also the cursor is an STL-like iterator. It is written in standard C++ with Linux. Drivers for PostgreSQL, sqlite3, MySQL, and Oracle are available.
| Tags | Database API Software Development Libraries |
|---|---|
| Licenses | GPL |
| Operating Systems | POSIX Unix |
| Implementation | C++ |
Recent releases


Changes: This release adds some minor bugfixes. It needs the current development version of cxxtools.


Changes: The sqlite driver of tntdb had two small bugs. Setting strings in statements did not lead to equality when compared to columns. Using multiple cursors for one statement crashed tntdb when the cursors were released in reverse order.


Changes: The API and ABI are declared stable now. The BLOB code has some cleanup.


Changes: This release adds support for blobs.


Changes: A driver for oracle is included, which is not built by default, but needs to be activated with the --with-oracle configure switch. Support for decimal numbers was added. The driver interface was optimized, which breaks the interface compatibility. The Doxygen documentation was updated.