DAME (Database Access Made Easy) is a tool that generates C++ and Java code from SQL statements. When used with Java, it supports any database that can be accessed through JDBC. C++ libraries for Oracle, PostgreSQL, and MySQL are also included.
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.