Re: BLOB performance test FYI

From: "Marin Dimitrov" <marin(dot)dimitrov(at)sirma(dot)bg>
To: "Anders Bengtsson" <ndrsbngtssn(at)yahoo(dot)se>
Cc: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: BLOB performance test FYI
Date: 2002-04-18 11:25:12
Message-ID: 000701c1e6cb$b4a81b30$9b0e32d4@sirma.bg
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc


----- Original Message -----
From: "Anders Bengtsson"

>
> It would imply a change in semantics of a PreparedStatement, that it
> could only be executed one time once the parameters are set. But I
> wouldn't be surprised if that is what the JDBC spec. says anyway.
>

doesn't seem so , it says:

"The values set for the parameter markers of a PreparedStatement object are
not
reset when it is executed. The method clearParameters can be called to
explictly
clear the values that have been set. Setting a parameter with a different
value will
replace the previous value with the new one."

...which IMHO implies multiple executions with the same parameters should be
possible

Marin

----
"...what you brought from your past, is of no use in your present. When
you must choose a new path, do not bring old experiences with you.
Those who strike out afresh, but who attempt to retain a little of the
old life, end up torn apart by their own memories. "

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Anders Bengtsson 2002-04-18 12:59:55 Re: BLOB performance test FYI
Previous Message Anders Bengtsson 2002-04-18 10:54:01 Re: BLOB performance test FYI