Re: Synthesize support for Statement.getGeneratedKeys()?

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: Synthesize support for Statement.getGeneratedKeys()?
Дата
Msg-id Pine.BSO.4.64.0701262349230.20148@leary2.csoft.net
обсуждение исходный текст
Ответ на Re: Synthesize support for Statement.getGeneratedKeys()?  (Ken Johanson <pg-user@kensystem.com>)
Ответы Re: Synthesize support for Statement.getGeneratedKeys()?  (Ken Johanson <pg-user@kensystem.com>)
Список 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


В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Ken Johanson
Дата:
Сообщение: Re: Synthesize support for Statement.getGeneratedKeys()?
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: Synthesize support for Statement.getGeneratedKeys()?