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,bf02c238a92156a3 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!solnet.ch!solnet.ch!newsfeed.freenet.de!news-lei1.dfn.de!news-ham1.dfn.de!news.uni-hamburg.de!cs.tu-berlin.de!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: Windows Ada database support. Date: Thu, 9 Dec 2004 11:58:06 +0000 (UTC) Organization: GMUGHDU Message-ID: References: <5e3e03a7.0411240431.7e037a4e@posting.google.com> <1jrbh30djhwuh$.cpwm02mv7d1d.dlg@40tude.net> <18u46qzjs6s8v.19927r9ay0kkh.dlg@40tude.net> <17dywgfsz1s82.ew4d2rpmnjg9$.dlg@40tude.net> NNTP-Posting-Host: l1-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1102593486 7542 134.91.1.34 (9 Dec 2004 11:58:06 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Thu, 9 Dec 2004 11:58:06 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/800)) Xref: g2news1.google.com comp.lang.ada:6858 Date: 2004-12-09T11:58:06+00:00 List-Id: Dmitry A. Kazakov wrote: : : But you can translate into SQL. Why Ada.Database.Relational.Foo cannot call : My_ Fancy_DB.Execute ("BAZ ...")? I do not propose to write a new DB : engine. This brings us back to the original questions :-) : Why should I query? It is for untyped tables. If I have an object at hand : then I know its type and so everything I can do with it. If I don't, then I : have another object, a container that refers to my object. That container : again has a type and that provides operations to access its elements. Relations. Records In DB system, as well as records in Ada have components which can be updated. Relations between 2 or more objects may thus depend on time. However, an object's type cannot reflect this, because types are static. You could associate one different type with each possible combination of component values in your program...