| From: | Kris Jurka <books(at)ejurka(dot)com> |
|---|---|
| To: | Ken Johanson <pg-user(at)kensystem(dot)com> |
| Cc: | pgsql-jdbc(at)postgresql(dot)org |
| Subject: | Re: Synthesize support for Statement.getGeneratedKeys()? |
| Date: | 2007-01-27 04:50:56 |
| Message-ID: | Pine.BSO.4.64.0701262349230.20148@leary2.csoft.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-jdbc |
On Thu, 25 Jan 2007, Ken Johanson wrote:
> In implementing Statement.executeUpdate(String sql,String[] columnNames),
> does any know how I could go about sending the sql and subsequent RETURNING
> clause directly to a stream? Just so I can avoid double-buffering the query
> (allocated in the sql, and second in the StringBuffer I'd be appending the
> RETURNING clause to).
Don't worry about this minor overhead. So much other manipulation and
object creation happens (even forgetting the network trip) that this will
be in the noise.
> I do see that there are ASCII and Unicode char streams
> and I'm also not sure how to delegate to those or if a highr level method
> (network) would do that..
>
These are for sending data (parameters) to the server for things like
large text fields.
Kris Jurka
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Kris Jurka | 2007-01-27 04:57:59 | Re: Synthesize support for Statement.getGeneratedKeys()? |
| Previous Message | Ken Johanson | 2007-01-27 04:33:52 | Re: Synthesize support for Statement.getGeneratedKeys()? |