Prepare Statement - Mailing list pgsql-jdbc

From Jie Liang
Subject Prepare Statement
Date
Msg-id E7E213858379814A9AE48CA6754F5ECB02A70FCA@mail01.stbernard.com
Whole thread Raw
Responses Re: Prepare Statement  (Kris Jurka <books@ejurka.com>)
List pgsql-jdbc
Hi,

I have a question about performance, in SQL commands: there is a
prepare/execute command, document says it will improve the performance
while repeatly execute a statement. In java.sql: there is a
PreparedStatement object, which can store precompiled SQL statement,
document says it can improve the performance also.
If I use java jdbc to connect postgresql database, which one I should
use? Can I use both?


Thanks.



Jie Liang

pgsql-jdbc by date:

Previous
From: Duane Lee - EGOVX
Date:
Subject: Re: [ADMIN] doubt
Next
From: tmp@nitwit.de
Date:
Subject: cursor "jdbc_curs_1" does not exist