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=0.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,56525db28240414a X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.224.180.205 with SMTP id bv13mr11611376qab.8.1343791082777; Tue, 31 Jul 2012 20:18:02 -0700 (PDT) Received: by 10.68.220.230 with SMTP id pz6mr3774078pbc.3.1343789444780; Tue, 31 Jul 2012 19:50:44 -0700 (PDT) Path: a15ni14727975qag.0!nntp.google.com!4no2273106pbo.1!news-out.google.com!g9ni7594064pbo.0!nntp.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nrc-news.nrc.ca!goblin1!goblin2!goblin.stu.neva.ru!news.teledata-fn.de!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Fri, 27 Jul 2012 14:01:02 +0200 From: Georg Bauhaus User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Efficient Sequential Access to Arrays References: <01983f1c-f842-4b1f-a180-bcef531dad4c@googlegroups.com> <87ipdf4vh6.fsf@mid.deneb.enyo.de> <4ce44d2d-d789-42a0-a6ed-035f7f8d58be@googlegroups.com> <1d20andzhb0rk.ytxhpkza8tky$.dlg@40tude.net> <1qlao21lvhn4q.p95zkkqzzcqz$.dlg@40tude.net> <802f6aec-a448-4a41-8320-fbdb5ffa7883@googlegroups.com> <1lqose2aygd4r$.ots4i45o7jnz.dlg@40tude.net> In-Reply-To: Message-ID: <501282ff$0$6554$9b4e6d93@newsspool4.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 27 Jul 2012 14:01:03 CEST NNTP-Posting-Host: 4e96d9b6.newsspool4.arcor-online.net X-Trace: DXC=;GnF7f3iLHi[F<50eo:0kn4IUKjLh>_cHTX3jmC8`S1XMmlMa X-Complaints-To: usenet-abuse@arcor.de X-Received-Bytes: 2768 Content-Type: text/plain; charset=ISO-8859-5 Content-Transfer-Encoding: 7bit Date: 2012-07-27T14:01:03+02:00 List-Id: On 27.07.12 10:48, Dmitry A. Kazakov wrote: >>> When DB client does not support type mapping, you should always use the DB >>> >> native type, e.g. SQLINTEGER. Ada type must be obtained from that using >>> >> type conversion. >>> >> >>> >> Which should be obvious if we remember that Ada discourages implicit type >>> >> conversions. Why a DB to Ada one should be implicit? >> > >> > You suppose sqlinterger as property of any db which is wrong. > I didn't supposed anything, SQLINTEGER was given as an example of a DB data > type, as provided by the DB client. Conversions to an Ada type from the > problem domain must be explicit. For illustration, I am just now debugging this, which is likely delivered by a database driver (after a system update to some enterprise GNU/Linux): x-dates 2011-12-30^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@:2012-07-26^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@