Re: Creating a database using ant - Mailing list pgsql-jdbc

From Jan de Visser
Subject Re: Creating a database using ant
Date
Msg-id 200511210019.11559.jdevisser@digitalfairway.com
Whole thread Raw
In response to Creating a database using ant  (Nathan McEachen <nathan@mceachen.us>)
List pgsql-jdbc
On Sunday 20 November 2005 23:24, Nathan McEachen wrote:
> Although autocommit is false, it looks like the sql script is still
> executing within a transaction.  Does anyone know a workaround?

You got it the wrong way around. autocommit=false gets you a transaction, i.e.
statements are *not* automatically committed when you have that set. You want
autocommit=true. I've done it (creating databases in ant) and it works...

JdV!!

--
--------------------------------------------------------------
Jan de Visser                     jdevisser@digitalfairway.com

                Baruk Khazad! Khazad ai-menu!
--------------------------------------------------------------

pgsql-jdbc by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: Creating a database using ant
Next
From: Tjioe Ai Xin
Date:
Subject: Can PostgreSQL do data type automated casting in prepared statement?