Re: postresql autocommit

From: "FERREIRA, William (COFRAMI)" <William(dot)FERREIRA(at)airbus(dot)com>
To: "Jean-Christophe Arnu" <arnu(at)paratronic(dot)fr>
Cc: <pgsql-fr-generale(at)postgresql(dot)org>
Subject: Re: postresql autocommit
Date: 2005-05-31 13:41:04
Message-ID: 414D259CE29DE54DAD534037C83CE4B7264E81@FR0-MAILMB20.res.airbus.corp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-fr-generale


j'utilise la version 8.0.2 de postgresql sous windows

-----Message d'origine-----
De : Jean-Christophe Arnu [mailto:arnu(at)paratronic(dot)fr]
Envoyé : mardi 31 mai 2005 15:36
À : FERREIRA, William (COFRAMI)
Cc : pgsql-fr-generale(at)postgresql(dot)org
Objet : Re: [pgsql-fr-generale] postresql autocommit

FERREIRA, William (COFRAMI) m'expliquait (le 31.05.2005 15:09):

> bonjour,
>
> j'ai une application j2ee qui utilise une base de données Postgresql.
> j'ai une fonction perl qui traite des BLOB et quand je l'appelle via
> JDBC j'ai une erreur :
>
> Les Large Objects ne devraient pas être utilisés en mode auto-commit.
>
> J'aurais voulu savoir comment desactiver le mode auto-commit de la base
>
> Cordialement
>
> William FERREIRA

Bonjour,

Dans quelle version de PostgreSQL ? Dans la version 7.3 de
PostgreSQL on peut spécifier
set autocommit=off;
dans psql.

Dans JDBC celà se traduit par l'appel idoine de
java.sql.Connection.setAutoCommit(boolean);

Cordialement,

--
Jean-Christophe Arnu
Paratronic

This mail has originated outside your organization,
either from an external partner or the Global Internet.
Keep this in mind if you answer this message.

This mail has originated outside your organization, either from an external partner or the Global Internet. Keep this in mind if you answer this message.

Browse pgsql-fr-generale by date

  From Date Subject
Next Message FERREIRA, William (COFRAMI) 2005-05-31 13:49:30 Re: postresql autocommit
Previous Message Jean-Christophe Arnu 2005-05-31 13:35:49 Re: postresql autocommit