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-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail Newsgroups: comp.lang.ada Subject: Re: Qt Ada database support? References: <0b27299b-c0ba-4592-a312-7192da923522@y7g2000yqa.googlegroups.com> From: Stephen Leake Date: Thu, 11 Jun 2009 06:26:17 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (windows-nt) Cancel-Lock: sha1:91sOdptZtoFR3KkV0FflqZd85Ac= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: 6ee884a30dbb3e9cadf9d31570 Xref: g2news2.google.com comp.lang.ada:6431 Date: 2009-06-11T06:26:17-04:00 List-Id: Ludovic Brenta writes: > Stephen Leake wrote on comp.lang.ada: >> It would be nice if GNADE had a database abstraction layer, so >> changing from MySQL to SQLite was more transparent. I think that's >> what the "ADO" packages were intended to be, but they are gone now. >> QtSQL is such a layer. > > Perhaps another possibility would be to wrap the GNADE SQLite binding > in an ODBC API; there would be no need for a separate process or > network connection, just a simple translation from the ODBC vocabulary > to the SQLite vocabulary (e.g. "cursors" to "step"). Yes. That's probably what I'll do, at least for the subset of the ODBC API that my app currently uses. Then a smaller part of my app needs to change to use SQLite. -- -- Stephe