psql COPY with JDBC - Mailing list pgsql-jdbc

From Christopher Condit
Subject psql COPY with JDBC
Date
Msg-id 845AADAC1106E44996327D62097E4C6B8AA6BC@et.ad.sdsc.edu
Whole thread Raw
Responses Re: psql COPY with JDBC  (Dave Cramer <pg@fastcrypt.com>)
Re: psql COPY with JDBC  (Markus Schaber <schabi@logix-tt.com>)
List pgsql-jdbc

Hi All-

I’ve been trying over at the general postgres list with no luck, so I thought I’d try here.  I need to bulk load results from a Java application on one machine to a postgres db on a remote server.  I know I can use psql interactively to accomplish this, but I’d like to be able to do it programmatically:

1)       I noticed that there was a COPY patch floating around a couple of years ago – does this still exist.  If so, has it been updated for the latest JDBC driver?

2)       Is there a better way to accomplish this than the above patch – with or without JDBC?

 

Thanks for your time!

 

Chris

pgsql-jdbc by date:

Previous
From: João Paulo Ribeiro
Date:
Subject: Re: Behaviour of setAutoCommit may not be completely correct.
Next
From: Dave Cramer
Date:
Subject: Re: psql COPY with JDBC