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>)
Список pgsql-jdbc

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
Дата:
Сообщение: Re: cursor "jdbc_curs_1" does not exist