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: 103376,b0845cc9331535dc X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!out02b.usenetserver.com!news.usenetserver.com!in04.usenetserver.com!news.usenetserver.com!nx01.iad01.newshosting.com!newshosting.com!130.81.64.211.MISMATCH!cycny01.gnilink.net!spamkiller.gnilink.net!gnilink.net!trnddc04.POSTED!72fcb693!not-for-mail From: Fionn Mac Cumhaill Newsgroups: comp.lang.ada Subject: Re: Free database bindings for Windows? Message-ID: References: <47bb0af8$0$21766$4d3efbfe@news.sover.net> X-Newsreader: Forte Agent 4.2/32.1118 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sat, 23 Feb 2008 01:30:14 GMT NNTP-Posting-Host: 71.123.187.189 X-Complaints-To: abuse@verizon.net X-Trace: trnddc04 1203730214 71.123.187.189 (Fri, 22 Feb 2008 20:30:14 EST) NNTP-Posting-Date: Fri, 22 Feb 2008 20:30:14 EST Xref: g2news1.google.com comp.lang.ada:20009 Date: 2008-02-23T01:30:14+00:00 List-Id: On Tue, 19 Feb 2008 11:59:35 -0500, "Peter C. Chapin" wrote: >I'm looking for a good way to interact with an off the shelf database >server from an Ada application. I need to be able to make SQL queries, >examine the results, and so forth. My application will be running on >Windows XP and will be built with GNAT GPL 2007. The database server >probably also needs to run on Windows XP, but this is a more flexible >requirement... I might be able to run the database server on a Linux >machine. My intention is to use either PostgreSQL (preferred) or MySQL. >I could possibly also use Oracle. > >After a quick search I located GNADE and APQ. Neither of these projects >appears to be particularly active (my apologies if I misinterpreted the >web pages). There is an ADBI (Ada Database Interface) project on >SourceForge that looks at least somewhat active, but there are no >downloadable files posted for it yet. > >I'm wondering if there is a "well known" database interface library for >Ada that I should be looking at. > >Thanks > >Peter The MySQL binding in GNADE is for MySQL 3 and 4. I have updated it for MySQL 5. It still needs work, but all that remains to be done is in source code comments - the source contains comments referring to MySQL V4 C header files which I have not yet edited to properly refer to the V5 headers. I should send it back to the GNADE project, but I can also e-mail it to interested parties or post it here.