From: Stephen Leake <stephen_leake@acm.org>
To: comp.lang.ada@ada-france.org
Subject: Re: GNADE insert problem
Date: 19 Dec 2003 20:55:32 -0500
Date: 2003-12-19T20:55:32-05:00 [thread overview]
Message-ID: <mailman.144.1071885384.31149.comp.lang.ada@ada-france.org> (raw)
In-Reply-To: <MPG.1a4d4871a4a0214a9897a2@News.CIS.DFN.DE>
Jano <nono@celes.unizar.es> writes:
> Hello, I'm using GNADE and esql to insert some records in a database.
You should also try the gnade mailing list
gnade-develop@lists.sourceforge.net.
> Line 79 in package Aenea.Db : *** Exception in query ****
>
> SQL State : 42000 SQL Code :-1
> ---------------
> [17:32:38.42] [E] Database insertion failed: Exception name:
> GNU.DB.SQLCLI.INVALID_CURSOR_STATE
> Message: [Proc=SQLCloseCursor][Server=hyperion][State=24000][Microsoft]
> [Controlador ODBC Microsoft Access]Estado del cursor no válido
> Call stack traceback locations:
> 0x438ee3 0x439bf6 0x439ef1 0x43b7cd 0x48c8ef 0x6ba969 0x6d5962
>
> As you can see, it seems as if some cursor were left open and tried to
> be reused. I've found just an example of insertion and I can see
> anything special there.
>
> I don't know if I'm doing something wrong or it is the fault of MSAccess
> or esql.
This is definitely an esql problem.
I suggest you abandon esql, and use the gnu-db-sqli package directly
instead. It's more robust, and really not that hard.
I've used gnu-db-sql to access MySQL via ODBC quite successfully. The
code generated by esql I've looked at has definite problems.
--
-- Stephe
next prev parent reply other threads:[~2003-12-20 1:55 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 [this message]
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
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox