Re: extra rowcopy in ResultSet allways needed ?.

From: Kris Jurka <books(at)ejurka(dot)com>
To: Gustav Trede <gustav(dot)trede_wsdevel(at)telia(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: extra rowcopy in ResultSet allways needed ?.
Date: 2008-02-16 15:57:38
Message-ID: Pine.BSO.4.64.0802161055260.25216@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Sat, 16 Feb 2008, Gustav Trede wrote:

> Is the extra rowcopy allways needed to be done, for example in boolean
> next() method in resultset ?
>
> Is the copy not only needed in some detectable special case ?.
>

The rowBuffer copy is only needed for updateable ResultSets, so we could
probably wrap all those calls with isUpdateable() { }. Are you seein a
significant performance impact from those calls or are you just curious?

Kris Jurka

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message ntr 2008-02-16 16:06:56 Re: UUID datatype
Previous Message Kris Jurka 2008-02-16 15:52:00 Re: UUID datatype