pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Murphy <murphy@genome.chop.edu>
To: pgsql-jdbc@postgresql.org
Subject: Wish list
Date: Wed, 29 Jun 2005 08:37:09 -0400
Message-ID: <42C295F5.7080902@genome.chop.edu> (raw)
In-Reply-To: <200506281455.09688.cservin@cromagnon.com>
References: <42C19D1D.30809@genome.chop.edu>
	<200506281455.09688.cservin@cromagnon.com>

In the context of my current project of writing code that can 1) access 
a database directly, 2) write sql statements to a file instead of 
executing them, and also, 3) write raw data for insert to flat files:

it would be nice if the JDBC driver could somehow expose the 
functionality to do the quoting and escaping required in steps 2 and 3 
without ever requiring a database connection.

I know it's not the driver's main line of business, but since it is able 
to do these things anyway (in PreparedStatement.toString), and they are 
useful but non-trivial to do properly, why not expose the functionality?

I know very little about java and JDBC, so maybe this doesn't make sense.

BTW, thanks to Craig Servin and Mark Lewis for turning me on to 
java.lang.reflect.Proxy.

Kevin Murphy




view thread (2+ messages)  latest in thread

Message-ID: <42C295F5.7080902@genome.chop.edu>
Permalink:  ../42C295F5.7080902@genome.chop.edu/
Also on:    postgresql.org/message-id/42C295F5.7080902@genome.chop.edu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: murphy@genome.chop.edu
  Subject: Re: Wish list
  In-Reply-To: <42C295F5.7080902@genome.chop.edu>
  References: <42C19D1D.30809@genome.chop.edu> <200506281455.09688.cservin@cromagnon.com> <42C295F5.7080902@genome.chop.edu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox