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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,497e6d89668d43da X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.224.213.1 with SMTP id gu1mr6153859qab.7.1350243911983; Sun, 14 Oct 2012 12:45:11 -0700 (PDT) Received: by 10.52.175.5 with SMTP id bw5mr1455838vdc.16.1350243911877; Sun, 14 Oct 2012 12:45:11 -0700 (PDT) Path: r17ni24752519qap.0!nntp.google.com!l8no51842743qao.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 14 Oct 2012 12:45:11 -0700 (PDT) In-Reply-To: <9btp462zys0n.gbz6slzr5lde.dlg@40tude.net> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=86.145.91.25; posting-account=04rmagoAAABZ9PN7u3MdbKIs6DPG57E- NNTP-Posting-Host: 86.145.91.25 References: <9btp462zys0n.gbz6slzr5lde.dlg@40tude.net> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <4f335b6c-20c7-452c-b727-07b83f83f90b@googlegroups.com> Subject: Re: ANN: Simple components v3.2 ODBC bindings support From: Graham Stark Cc: mailbox@dmitry-kazakov.de Injection-Date: Sun, 14 Oct 2012 19:45:11 +0000 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-10-14T12:45:11-07:00 List-Id: On Sunday, October 14, 2012 4:16:30 PM UTC+1, Dmitry A. Kazakov wrote: > Recent discussion in comp.lang.ada indicated that GNADE ODBC is no longer > > maintained. Presently GNADE ODBC cannot be used with 64-bit applications > > because it failed to follow the changes in the ODBC Microsoft made to > > support these. > > > > So, I created new ODBC bindings which are now a part of the Simple > > Components: > > > > http://www.dmitry-kazakov.de/ada/components.htm > > > > The bindings consist of two parts. > > > > The thin bindings closely follow C API. They are barely useful, because of > > being very low-level. > > > > Thick bindings (thicker than ones provided by GNADE ODBC) take away dealing > > with ODBC handles through controlled types, provide means to binding > > parameters and columns, to handle transactions and cursors. ODBC > > attributes, information, diagnostic records etc can be accessed as plain > > calls. Thick bindings are fully documented. > > > > The library is packaged for Fedora and Linux, both 32- and 64-bit. > > > > Simple Components is kept compatible to Ada 95. > > > > The bindings were so far tested with MS Access, MySQL, PostgreSQL ODBC > > drivers. See the test_odbc_bindings.adb if you want to test other drivers > > and check the capacities of a given DBMS. > > > > Suggestions and bug reports are as always welcome. > > > > -- > > Regards, > > Dmitry A. Kazakov > > http://www.dmitry-kazakov.de That looks great! I actually made a start on this, too, but got nowhere near this.