From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,67748e866d067110 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Alex R. Mosteo" Newsgroups: comp.lang.ada Subject: Re: SOCI-Ada: The Database Access Library for Ada Date: Thu, 07 Aug 2008 17:10:12 +0200 Message-ID: <6g0hikFdkv5oU1@mid.individual.net> References: <9fa4c3e0-86bc-4a7d-98fb-6be76cb8aa68@d1g2000hsg.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: individual.net pBrEk3BZ+vFakowfafHBKQoMFYG+46wynQINk6qolOierWoeA= Cancel-Lock: sha1:lbPbIZfhY9ZZVa7aTJJu9nQs6tM= User-Agent: KNode/0.10.9 Xref: g2news1.google.com comp.lang.ada:1507 Date: 2008-08-07T17:10:12+02:00 List-Id: Maciej Sobczak wrote: > I am pleased to announce that the first version of SOCI-Ada is > available to download: > > http://www.inspirel.com/soci-ada/ > > The SOCI-Ada library is built on top of a successful SOCI library that > was written for C++ programmers. (...) > The link above is a starting point for both downloads and online docs, > but I think the best way to attract attention is to show examples of > *full* programs that access a database using this library. Such > examples are available here: > > http://www.inspirel.com/soci-ada/doc/idioms.html Maciej, it looks great. From these examples this library seems right on target, because of both simplicity and backend transparency. As for comments for improvement, after a quick read I would like to see one example on how to use pooled connections. Another thing is that in C++ there's mimicking of embedded SQL using the "<<" operator. Can't this be to some extent emulated in Ada with some operator overloading?