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