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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "G.B." Newsgroups: comp.lang.ada Subject: Re: Question on bounded / unbounded strings Date: Thu, 22 Sep 2016 16:14:41 +0200 Organization: A noiseless patient Spider Message-ID: References: <11ee98f5-d373-4c72-8562-c310cc76817d@googlegroups.com> Reply-To: nonlegitur@futureapps.de Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 22 Sep 2016 14:14:34 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="b96887e80893c84a90c3007226ca0d1c"; logging-data="16346"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18KtEJwfvk12Zr51n0jsLm/z08+o93GwxU=" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 In-Reply-To: Cancel-Lock: sha1:qW7tQCmLvKrjVUnFDOkyjeSHlZ4= Xref: news.eternal-september.org comp.lang.ada:31846 Date: 2016-09-22T16:14:41+02:00 List-Id: On 22.09.16 14:05, Dmitry A. Kazakov wrote: > On 22/09/2016 12:58, G.B. wrote: >> On 22.09.16 11:53, Dmitry A. Kazakov wrote: >>> If you do DB you use DB data types. >> >> (...) >> >> So, user defined types may be beneficial in a typical >> Ada environment when using a capable DBMS. > > Sure they are, all DB interfacing types are user-defined Ada types. Do Ada programmers normally store objects of user defined types of their own in DBMS? Objects that the DBMS considers atomic, to become one attribute value of some tuple (column value in some row). Say, of a private type that exports "=" to the DBMS. These would be types other than those binding-layer defined types like SQL_INT etc, which, I take it, you meant by "DB data types".