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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7179b046d1b6799f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-12-31 02:15:14 PST Path: archiver1.google.com!news1.google.com!news2.google.com!fu-berlin.de!eusc.inter.net!news.eusc.inter.net!boavista.snafu.de!news From: Michael Erdmann Newsgroups: comp.lang.ada Subject: Re: GNADE insert problem Date: Wed, 31 Dec 2003 13:12:16 +0100 Organization: http://www.snafu.de/~boavista Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.eusc.inter.net 1072865713 21992 213.73.71.96 (31 Dec 2003 10:15:13 GMT) X-Complaints-To: abuse@eusc.inter.net User-Agent: Pan/0.14.0 (I'm Being Nibbled to Death by Cats!) Xref: archiver1.google.com comp.lang.ada:3979 Date: 2003-12-31T13:12:16+01:00 List-Id: On Sun, 21 Dec 2003 10:41:39 +0100, Jano wrote: > >> As an aside, this problem is why I quickly get headaches mixing Ada and >> SQL. SQL has this concept of an implicit cursor, and you have to be >> very careful that every Ada thread containing SQL maintains its own >> cursor correctly. Maybe there is some kind to simplifcation requiered for Ada 95 which could be provided by GNADE? Anny sutiable interface you want to propose? > > My program as a few tasks, but only one of them is making SQL calls > (though now I think that maybe the initial connection is done from > another task... room for some experimentation). Good to be warned > though. Michael