Re: Forcing cursor behavior

Поиск
Список
Период
Сортировка
От Віталій Тимчишин
Тема Re: Forcing cursor behavior
Дата
Msg-id 331e40660907210629y2304bb24v4508a79474918571@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Forcing cursor behavior  (Shawn Heisey <pgsql@elyograg.org>)
Список pgsql-jdbc


2009/7/21 Shawn Heisey <pgsql@elyograg.org>

To the person with the Cyrillic name that also responded ... how much effort would be involved in writing the delegating driver you described?

It depends on how you configure which driver is used - with DataSource or DriverManager URL. Simply wrapping a Connection would be few hundred lines of similar code that can be done in few days (few hours for "fast prototype") - I've done similar things for running tests on embedded Java DB instead of postgres used in production.
Registering new prefix in DriverManager (e.g. "jdbc:postgrespatched:url") may take some more time - one need to look into JDBC SPI.

Best regards, Vitalii Tymchyshyn.

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

Предыдущее
От: Oliver Jowett
Дата:
Сообщение: Re: Forcing cursor behavior
Следующее
От: Stephen Eng
Дата:
Сообщение: IQ in Postgre