From: Michael Erdmann <Michael.Erdmann@snafu.de>
Subject: Re: GNADE insert problem
Date: Thu, 01 Jan 2004 10:17:50 +0100
Date: 2004-01-01T10:17:50+01:00 [thread overview]
Message-ID: <pan.2004.01.01.09.17.48.385403@snafu.de> (raw)
In-Reply-To: IcqdnUE88qrrc2-iRVn-ug@comcast.com
On Wed, 31 Dec 2003 10:42:45 -0500, Robert I. Eachus wrote:
>
> Maybe the best 'simplification' would be to define the SQL
> cursor/environment as a per task attribute.
> http://www.adaic.org/standards/95lrm/html/RM-C-7-2.html (Actually a
> pointer to the (potentially shared) enviroment would probably be the
> best implementation.)
>
At least i can provide this concept by means of embedded SQL. Them
embedded SQL implementation of GNADE does not realy consider any
tasking issues.
> That way a user who needed to care could insure that either different
> tasks did have different (SQL) environments or shared a single environment.
>
> I don't see any way to get rid of the (mental) pain of those cases where
> you do need multiple active SQL cursors, but this way at least, the
> simpler cases can be dealt with.
I agree on this, if you are using ODBC then you need to take care about
cursors, we could provide an intermediate layer which checks, if a cursor
is only used within the same task, where it has been allocated.
Michael
prev parent reply other threads:[~2004-01-01 9:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-19 16:40 GNADE insert problem Jano
2003-12-20 1:55 ` Stephen Leake
2003-12-20 9:47 ` Jano
2003-12-20 18:35 ` Robert I. Eachus
2003-12-21 9:41 ` Jano
2003-12-21 10:37 ` Jano
2003-12-21 20:32 ` Robert I. Eachus
2003-12-31 12:12 ` Michael Erdmann
2003-12-31 15:42 ` Robert I. Eachus
2004-01-01 9:17 ` Michael Erdmann [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox