| От | Oliver Jowett |
|---|---|
| Тема | Re: Forcing cursor behavior |
| Дата | |
| Msg-id | 4A659236.2050305@opencloud.com обсуждение исходный текст |
| Ответ на | Re: Forcing cursor behavior (Shawn Heisey <pgsql@elyograg.org>) |
| Список | pgsql-jdbc |
Shawn Heisey wrote: > To the person with the Cyrillic name that also responded ... how much > effort would be involved in writing the delegating driver you described? http://onjava.com/pub/a/onjava/2001/12/05/optimization.html may be a useful starting point for this. You'd basically want a set of wrappers as described there, plus a Driver or Datasource implementation (depending on what your app uses) that handled building a wrapper Connection around the real connection obtained from the PostgreSQL driver. Then your wrapper implementations can mangle autocommit and fetchsize as you see fit (and presumably not delegate setAutoCommit(true) calls from the app down to the driver either) -O
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера