Perpared statements in postgres jdbc are converted on the java side and
then shipped to the backed, so there will no performance increase.
Sheer El-Showk wrote:
>
> Does anyone have some handy metrics of the performance advantage of
> prepared vs unprepared statements? I'm considering the case of an
> application which has to make multiple queries/inserts (30-100) per
> application transaction and which is currenlty generating the sql by
> building the strings on the fly then passing them to the JDBC. Can I
> expect significant (ie worth the recoding time) performance increases by
> converting the statements into prepared statements?
>
--
Joseph Shraibman
jks@selectacast.net
Increase signal to noise ratio. http://www.targabot.com