Re: query manipulation

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: query manipulation
Дата
Msg-id 46005B47.2030904@opencloud.com
обсуждение исходный текст
Ответ на Re: query manipulation  (Randall Smith <randall@tnr.cc>)
Ответы Re: query manipulation  (Randall Smith <randall@tnr.cc>)
Список pgsql-jdbc
Randall Smith wrote:
> Why couldn't I subclass PreparedStatement, then override
> PreparedStatement.prepareStatement?

Because PreparedStatement is an interface, not a class.

> When I proxy it, I get about 70 of
> these:
>
> The type PreparedStatementProxy must implement the inherited abstract
> method Statement.getMaxRows()

Dave meant using java.lang.reflect.Proxy not implementing the whole
class yourself (which you could do, it's just tedious)

-O

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Randall Smith
Дата:
Сообщение: Re: query manipulation
Следующее
От: Randall Smith
Дата:
Сообщение: Re: query manipulation