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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,149ba84e81e37864 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!d8g2000yqf.googlegroups.com!not-for-mail From: tonyg Newsgroups: comp.lang.ada Subject: Re: odbc integer binding to column Date: Tue, 6 Jul 2010 14:50:52 -0700 (PDT) Organization: http://groups.google.com Message-ID: <43277fb8-547f-4844-b50e-75a631ac80f2@d8g2000yqf.googlegroups.com> References: <84d8460f-1c76-4908-8e1c-ef5abfc96b47@x21g2000yqa.googlegroups.com> NNTP-Posting-Host: 89.240.135.62 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1278453052 28385 127.0.0.1 (6 Jul 2010 21:50:52 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 6 Jul 2010 21:50:52 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: d8g2000yqf.googlegroups.com; posting-host=89.240.135.62; posting-account=28F2IwkAAACL1Z5nRC-dE7zuvWdbWC7P User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4,gzip(gfe) Xref: g2news2.google.com comp.lang.ada:13210 Date: 2010-07-06T14:50:52-07:00 List-Id: On 6 July, 14:13, tonyg wrote: > On Jul 6, 1:18=A0pm, "Dmitry A. Kazakov" > wrote: > > > > > > > On Tue, 6 Jul 2010 03:12:15 -0700 (PDT), tonyg wrote: > > > Does anyone have any examples of this. I have examined the demo > > > closely supplied with the gnade package but I suspect my column is no= t > > > correctly bound and am seeking an example where it know that it is > > > retrieving the right value. > > >http://www.dmitry-kazakov.de/ada/components.htm > > > It uses GNADE ODBC in order to implement a persistency layer. The code > > makes Bind_Parameter and Bind_Result. It also defines a thicker binding > > upon GNADE ones in order to encapsulate handles to environment, command= etc > > into controlled objects. See gnu-db-sqlcli-api.ads > > > -- > > Regards, > > Dmitry A. Kazakovhttp://www.dmitry-kazakov.de > > Thanks Dmitry I think I might have a going using your library, the more I look at it, the more I like it :)