
Hi, This probably ought to be a FAQ. But there is currently no database library in boost. There have been some contenders in the past. I had hopes for SOCI for instance (see e.g. http://lists.boost.org/Archives/boost/2004/10/74365.php). Are there any candidates on the horizon? If not, what unrelated projects would people here recommend (or recommend against). Just for context, I am looking for a "sword against anybody who got into belief that (db) programming in the language beginning with 'J' is easier. ;) " to quote the author of SOCI in the post I mentioned. However, I'm beginning to suspect maybe it is easier in Java, not through any fault in C++ itself but in the success of the Java community versus the lack of *recognised* success in the C++ community. By the way when I search the mailing lists from the link on http://www.boost.org/community/groups.html I (and many others) get: Google Sorry... We're sorry... ... but your computer or network may be sending automated queries. To protect our users, we can't process your request right now.See Google Help for more information. Regards, Bruce.

Apologies I forgot to set the subject... ----- Original Message ----
From: Bruce Adams <tortoise_74@yahoo.co.uk> To: boost@lists.boost.org Sent: Tue, July 5, 2011 2:15:11 PM Subject:
Hi, This probably ought to be a FAQ. But there is currently no database library
in boost. There have been some contenders in the past. I had hopes for SOCI for instance (see e.g. http://lists.boost.org/Archives/boost/2004/10/74365.php). Are there any candidates on the horizon? If not, what unrelated projects would
people here recommend (or recommend against).
Just for context, I am looking for a "sword against anybody who got into belief
that (db) programming in the language beginning with 'J' is easier. ;) " to quote the author of SOCI in the post I mentioned. However, I'm beginning to
suspect maybe it is easier in Java, not through any fault in C++ itself but in the success of the Java community versus the lack of
*recognised* success in the C++ community.
By the way when I search the mailing lists from the link on http://www.boost.org/community/groups.html I (and many others) get:
Google Sorry... We're sorry... ... but your computer or network may be sending automated queries. To protect
our users, we can't process your request right now.See Google Help for more information.
Regards,
Bruce.

On Tue, Jul 5, 2011 at 15:17, Bruce Adams <tortoise_74@yahoo.co.uk> wrote:
Hi, This probably ought to be a FAQ. But there is currently no database library
in boost. There have been some contenders in the past. I had hopes for SOCI for instance (see e.g. http://lists.boost.org/Archives/boost/2004/10/74365.php). Are there any candidates on the horizon? If not, what unrelated projects would
people here recommend (or recommend against).
Hi, There have been a library proposed(?) by the author of Boost.Locale called CPPDB. The (interesting) discussion from last year starts there : http://lists.boost.org/Archives/boost/2010/12/173979.php You can read some points about SOCI. The library is part of CPPCMS (like Boost.Locale) and you can get it to try it. http://cppcms.sourceforge.net/ PS : I didn't try it yet so I don't have an advice. I didn't use SOCI either. Joël Lamotte

Hello Take a look on CppDB. http://art-blog.no-ip.info/sql/cppdb/ http://cppcms.sourceforge.net/sql/cppdb/ (mirror link) Once I'll complete the integration of Boost.Locale into Boost, I'm considering to Boostify this library if it would be found suitable for Boost. However I hadn't decided yet, meanwhile it runs as independent SQL library. It is released under BSL/Mit license and somehow similar to SOCI but has different approach in some situations. This library is something like JDBC for C++ optimized for performance with stuff like built in and transparent prepared-statements caching and connection pooling. It has backends for: - Sqlite3 - MySQL - PostgreSQL - ODBC So take a look on it. Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.sf.net/ CppDB - C++ SQL Connectivity: http://cppcms.sf.net/sql/cppdb/ ----- Original Message ----
From: Bruce Adams <tortoise_74@yahoo.co.uk> To: boost@lists.boost.org Sent: Tue, July 5, 2011 4:15:11 PM Subject: [boost] (no subject)
Hi, This probably ought to be a FAQ. But there is currently no database library
in boost. There have been some contenders in the past. I had hopes for SOCI for instance (see e.g. http://lists.boost.org/Archives/boost/2004/10/74365.php). Are there any candidates on the horizon? If not, what unrelated projects would
people here recommend (or recommend against).
Just for context, I am looking for a "sword against anybody who got into belief
that (db) programming in the language beginning with 'J' is easier. ;) " to quote the author of SOCI in the post I mentioned. However, I'm beginning to
suspect maybe it is easier in Java, not through any fault in C++ itself but in the success of the Java community versus the lack of
*recognised* success in the C++ community.
By the way when I search the mailing lists from the link on http://www.boost.org/community/groups.html I (and many others) get:
Google Sorry... We're sorry... ... but your computer or network may be sending automated queries. To protect
our users, we can't process your request right now.See Google Help for more information.
Regards,
Bruce.
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

On Tue, 05 Jul 2011 15:15:11 +0200, Bruce Adams <tortoise_74@yahoo.co.uk> wrote:
Hi, This probably ought to be a FAQ. But there is currently no database library in boost. There have been some contenders in the past. I had hopes for SOCI for instance (see e.g. http://lists.boost.org/Archives/boost/2004/10/74365.php). Are there any candidates on the horizon? If not, what unrelated projects would people here recommend (or recommend against).
I recommend OTL: http://otl.sourceforge.net/ While the website doesn't make the best impression, the library is maintained for many years and works pretty well as far as I can tell. Boris
[...]
participants (4)
-
Artyom Beilis
-
Boris Schaeling
-
Bruce Adams
-
Klaim - Joël Lamotte