On Nov 14, Joachim Selke <[EMAIL PROTECTED]> wrote:

> I use a standard installation of DB2 9.5 (latest fixpack) on CentOS
> 5, which is a binary-compatiable clone of the Red Hat Enterprise
> Linux. The latter is supported by IBM. Therefore, this shouldn't
> make any trouble, should it?

Let's assume it's ok - it sounds reasonable enough. :-)

> > - in the ibm_db module.  - of the ibm_db_sa adapter.
> 
> I made some more tests. The following code inserts the value
> successfully:

Good; from what I've understood, ibm_db_sa uses the ibm_db_dbi module,
and I suppose SQLAlchemy calls the ibm_db_dbi.connect function to get
the proper Connection instance.
Why it doesn't work in your second test, is well beyond my understanding. :-/

Maybe you can try to debug the ibm_db_dbi.connect function (inserting
a print here and there to see if something is blatantly wrong) and/or
the ibm_db_dbi.Connection class.

I would also try the second test with the ibm_db_dbi.SQL_AUTOCOMMIT_ON
argument.

After that, I think it's a problem between SQLAlchemy (specifically
the ibm_db_sa module) and the ibm_db package.  Probably you can
search for help in their forum/mailing lists.

It may be a thing you can fix just passing some extra parameter to
the connect function (if this is the case, I can fix it in IMDbPY).

> > Anyway, a test with SQLAlchemy 0.5 looks like a good idea, now.
> 
> I tried that but it doesn't help.

I see; moreover I've noticed that ibm_db_sa was done with SQLAlchemy 0.4
in mind, so you should consider a downgrade (I assume it will be already
difficult enough to nail the problem without using incompatibles
versions. ;-)


Thanks!
-- 
Davide Alberani <[EMAIL PROTECTED]> [PGP KeyID: 0x465BFD47]
http://erlug.linux.it/~da/

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Imdbpy-devel mailing list
Imdbpy-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-devel

Reply via email to