开发者

C++ database communication library [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 3 years ago.

Improve this question

I'm looking for a well designed, efficient and robust C++ cross-database and cross-platform database communication library. I need support for

  • Oracle
  • MySQL
  • PostgreSQL
  • Firebird (optional)
  • MSSQL (optional)

When I say cross-platform I really mean cross-platform, I need something similar to boost.

Currently I'm researching soci, but

  • I'm not sure how portable and good this library is
  • I would like to have an alternatives.

Currently I'm using Qt, but I don't like using Qt only for database communication, while no other Qt features used. It's a temporary solution and I'm looking for开发者_如何学JAVA a replacement.

What libraries do you use? What can you recommend? If you know any really good and portable Oracle communication library that's also acceptable, but cross-database is preferred.

Thanks.


Using: Progress DataDirect Connect® and Connect XE

Intresting options:

  • http://www.sqlapi.com/
  • http://www.thefreecountry.com/sourcecode/database.shtml
  • http://www.trumphurst.com/cpplibs/cpplibs.php


I've used Database Template Library to good effect with Oracle, MySQL, PostgreSQL and SQLite on Windows, Mac OS X and Linux.


I am using OTL (Oracle Template Library). Despite the name, it has backends for different databases and works in different platforms. It also very simple to use. Just add the header.

I also tried Soci, nothing wrong with that but I decided to go with OTL. It was simply easier to include it to my project.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜