Re: extra rowcopy in ResultSet allways needed ?. - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: extra rowcopy in ResultSet allways needed ?.
Date
Msg-id Pine.BSO.4.64.0802161055260.25216@leary.csoft.net
Whole thread Raw
In response to extra rowcopy in ResultSet allways needed ?.  (Gustav Trede <gustav.trede_wsdevel@telia.com>)
List 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

pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: UUID datatype
Next
From: ntr
Date:
Subject: Re: UUID datatype