Fabien JALABERT wrote:
> Hello, if I turn on autocommit, will I be able to process transactions
> with begin/commit/rollback as before ?
"Maybe" - but you shouldn't be doing that anyway. The JDBC model expects
that to do explicit transaction demarcation, you turn off autocommit and
use methods on Connection to do commit/rollback. You shouldn't be
issuing queries with explicit BEGIN/COMMIT/ROLLBACK.
In response to
pgsql-jdbc by date
|Next:||From: Alessandro Di Bella||Date: 2010-09-02 15:04:36|
|Subject: Bug in implementation of java.sql.DatabaseMetaData|
|Previous:||From: Craig Ringer||Date: 2010-09-01 08:18:25|
|Subject: Re: JDBC: "transaction aborted"|