From: | Kevin Murphy <murphy(at)genome(dot)chop(dot)edu> |
---|---|
To: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Wish list |
Date: | 2005-06-29 12:37:09 |
Message-ID: | 42C295F5.7080902@genome.chop.edu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Oliver Jowett | 2005-06-29 13:17:33 | Re: jdbc cts final diff for review |
Previous Message | Dave Cramer | 2005-06-29 11:51:15 | jdbc cts final diff for review |