Open source libraries for abstracting database access in C++?

c++, database

Solution

SOCI is good. Supports multiple databases, works well, modern C++ style API, works with boost.

Problem

I'm looking for options for abstracting database server details away from my application (in c++), I'd like to write my code to be independent of the actual database backend. I know MySQL has a nice library, but I don't want to be tied to a single database implementation. Are there good options for this?

Original source