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!news1.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Windows Ada database support. Date: Wed, 8 Dec 2004 20:43:19 +0100 Organization: cbb software GmbH Message-ID: <17dywgfsz1s82.ew4d2rpmnjg9$.dlg@40tude.net> References: <5e3e03a7.0411240431.7e037a4e@posting.google.com> <11w2chxxtggn9.a442ecwtujd2$.dlg@40tude.net> <1jrbh30djhwuh$.cpwm02mv7d1d.dlg@40tude.net> <18u46qzjs6s8v.19927r9ay0kkh.dlg@40tude.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: individual.net DF1wINtbVhC/AOtPYQBovgaPRk6ftc/uKDOvPUPaVW1CKf7m0= User-Agent: 40tude_Dialog/2.0.12.1 Xref: g2news1.google.com comp.lang.ada:6849 Date: 2004-12-08T20:43:19+01:00 List-Id: On Wed, 8 Dec 2004 15:58:44 +0000 (UTC), Georg Bauhaus wrote: > Dmitry A. Kazakov wrote: >: Again, there are two different questions. I have already formulated them in >: another post: >: >: 1. Why relations should be handled? >: 2. Why Ada cannot handle them? >: >: To dismiss Ada.Database.Relational, we have to answer 1=yes, 2=no, >: because... > > Ada the language does not have what SQL processors do have. 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. > You would have to build some sort of DKQL processor in your > Ada.Databases.Relational. Go ahead :-) >: I would like to view it as a distributed system >: and get rid of the notion of DB altogether. Only persistent objects. No >: I/O, just memory-mappings. [ Clearly, in any short term perspective it is >: an utopia. ] > > Say all you have is persistent objects. What kind of query do you > have if you want to know about 2 or more objects? 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. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de