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 X-Google-Thread: a07f3367d7,149ba84e81e37864 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!goblin1!goblin.stu.neva.ru!news2.arglkargh.de!noris.net!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: odbc integer binding to column Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: Date: Tue, 6 Jul 2010 14:18:41 +0200 Message-ID: NNTP-Posting-Date: 06 Jul 2010 14:18:41 CEST NNTP-Posting-Host: 7edb1531.newsspool3.arcor-online.net X-Trace: DXC=LN_n5lQSclK^B]`=U:WelBMcF=Q^Z^V3H4Fo<]lROoRA8kF 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 not > 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. Kazakov http://www.dmitry-kazakov.de