Re: Prepare Statement

Поиск
Список
Период
Сортировка
Искать
От
Kris Jurka
Тема
Re: Prepare Statement
Дата
Msg-id
Pine.BSO.4.56.0406162324530.27722@leary.csoft.net
Ответ на
Список
Дерево обсуждения
Re: Prepare Statement "Jie Liang" <jie@stbernard.com>


On Wed, 16 Jun 2004, Jie Liang wrote:

> Kris,
> Thank you for your valuable response, I used the code you list
> following:
>
> [7.5 code example]
>
> Then, the compiler complaint:
> ServerSidePreparedStatement.java:20: cannot resolve symbol symbol  :
> method setPrepareThreshold  (int)
> location: interface org.postgresql.PGStatement
>                 pgstmt.setPrepareThreshold(3); I downloaded
> pg74.213.jdbc2.jar and pg74.213.jdbc2ee.jar at

This example is from the 7.5 documentation and requires a
pgdev.302.jdbcX.jar file.  I mentioned this cvs example because this 
functionality is undocumented in the released version.  In the 7.4 version 
the enabling of server side statements is only possible via a boolean flag 
at the statement level, namely PGStatement.setUseServerPrepare(true);

Kris Jurka
В списке pgsql-jdbc по дате отправления
От: Jie Liang
Дата:
Сообщение: Re: Prepare Statement
От: tmp@nitwit.de
Дата:
FAQ