comp.lang.ada
 help / color / mirror / Atom feed
From: Brian May <bam@snoopy.apana.org.au>
Subject: Re: Ada DB bindings and APQ
Date: Thu, 16 Dec 2004 08:54:31 +1100
Date: 2004-12-16T08:54:31+11:00	[thread overview]
Message-ID: <sa4zn0f4488.fsf@snoopy.apana.org.au> (raw)
In-Reply-To: 1x4xxn0yx1abu.myr2odcsdxg8$.dlg@40tude.net

>>>>> "Dmitry" == Dmitry A Kazakov <mailbox@dmitry-kazakov.de> writes:

    Dmitry> I didn't mean APQ, otherwise I wouldn't consider it as a
    Dmitry> starting point. I meant only the way of constructing
    Dmitry> queries. Specifically, that there is no *typed* difference
    Dmitry> between "CREATE", "1.35" and "INTEGER". Everything is a
    Dmitry> string to append. This is untyped => error prone,
    Dmitry> uncheckable, unmaintainable.

Good point. SQL was never designed to be type safe, and as such it is
the weakest link when combined with a type safe language like Ada. For
example, you can pass SQL a string for an integer type, and as long as
the string happens to be a integer, you will never notice any
problems. Pass it a string that cannot be parsed as an integer, and
the database will complain.

However, I consider this a low priority at the moment, I think some of
the other issues are a higher priority.
-- 
Brian May <bam@snoopy.apana.org.au>



  reply	other threads:[~2004-12-15 21:54 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-12 17:42 Ada DB bindings and APQ Dmitry A. Kazakov
2004-12-14  7:25 ` Warren W. Gay VE3WWG
2004-12-14 17:37   ` Dmitry A. Kazakov
2004-12-14 18:29     ` Georg Bauhaus
2004-12-14 19:45       ` Dmitry A. Kazakov
2004-12-14 21:06         ` Georg Bauhaus
2004-12-15  8:19           ` Ole-Hjalmar Kristensen
2004-12-15 17:20           ` Dmitry A. Kazakov
2004-12-16 13:28             ` Georg Bauhaus
2004-12-17 13:23               ` Dmitry A. Kazakov
2004-12-14 23:26         ` Brian May
2004-12-15 17:43           ` Dmitry A. Kazakov
2004-12-15 21:54             ` Brian May [this message]
2004-12-15  4:05     ` Warren W. Gay VE3WWG
2004-12-15 18:26       ` Dmitry A. Kazakov
2004-12-16  2:53         ` Warren W. Gay VE3WWG
2004-12-18 16:43           ` Dmitry A. Kazakov
2004-12-18 20:36             ` Warren W. Gay VE3WWG
2004-12-18 22:21               ` Dmitry A. Kazakov
2004-12-19  0:53                 ` Warren W. Gay VE3WWG
2004-12-19 12:21                   ` Dmitry A. Kazakov
2004-12-20  5:33                     ` Warren W. Gay VE3WWG
2004-12-20 20:01                       ` Dmitry A. Kazakov
2004-12-20 20:54                         ` Warren W. Gay VE3WWG
2004-12-14 22:40   ` Brian May
2004-12-15  3:23     ` Warren W. Gay VE3WWG
2004-12-15 15:01       ` Georg Bauhaus
2004-12-17  4:31         ` Brian May
2004-12-15 10:48   ` Brian May
2004-12-16  1:40     ` Brian May
2004-12-16  3:10       ` Warren W. Gay VE3WWG
2004-12-17  4:55         ` Brian May
2004-12-17 11:13           ` Warren W. Gay VE3WWG
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox