Re: JDBC Drop/Create problem? - Mailing list pgsql-interfaces

From Greg Speegle
Subject Re: JDBC Drop/Create problem?
Date
Msg-id 3A2FD4A0.7030000@10happythings.com
Whole thread Raw
In response to RE: JDBC Drop/Create problem?  (Peter Mount <petermount@maidstone.gov.uk>)
List pgsql-interfaces
Ah. That explains it. Thanks.

Out of curiosity, why does the transaction get marked as aborted?  I 
only ask since others
(e.g. Oracle) don't have this behavior.

Greg

Peter Mount wrote:

> Dropping a non-existent table should throw an exception as well as mark any
> open transaction as aborted.
> 
> I'd say either:
> 
> * using autoCommit while checking for existing tables.
> * commit and begin a new transaction afterwards.
> * Use temporary tables, so the table doesn't survive the connection.
> 
> Peter
> 



pgsql-interfaces by date:

Previous
From: Peter Mount
Date:
Subject: RE: JDBC Drop/Create problem?
Next
From: The Hermit Hacker
Date:
Subject: Re: [HACKERS] v7.1 beta 1 (ODBC driver?)