Davide Alberani wrote: > I would also try the second test with the ibm_db_dbi.SQL_AUTOCOMMIT_ON > argument.
You're right. This indeed works: import ibm_db_dbi connection = ibm_db_dbi.connect('DATABASE=mydb;HOSTNAME=myhost;PORT=myport; PROTOCOL=TCPIP;UID=myuser;PWD=mypass;', conn_options={ibm_db_dbi.SQL_ATTR_AUTOCOMMIT : ibm_db_dbi.SQL_AUTOCOMMIT_ON}) cursor = connection.cursor() cursor.execute('INSERT INTO kind_type (kind) VALUES (?)', ['movie']) Can I pass this option somehow to IMDbPY within the connection URI? Thanks for the help, :-) Joachim -- M. Sc. Joachim Selke Technische Universität Braunschweig, Institut für Informationssysteme Mühlenpfordtstraße 23, 38106 Braunschweig, Germany <http://www.l3s.uni-hannover.de/~selke> ------------------------------------------------------------------------- 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