| От | Jeff Hoffmann |
|---|---|
| Тема | Re: Binary Cursors (& Geometric Type Support) |
| Дата | |
| Msg-id | 3D8E428D.3010300@propertykey.com обсуждение исходный текст |
| Ответ на | Binary Cursors (& Geometric Type Support) (Jeff Hoffmann <jeff@propertykey.com>) |
| Список | pgsql-jdbc |
Barry Lind wrote: > Jeff, > > Since the curror is returning binary data, the only method that works re > retrieve the data is getBytes(). Get Object will not work with binary > cursors. Gotcha. I was hoping getObject would automagically do the type conversion. If only the bytes would be in the right order do use the DataInput classes, my life would have been a little easier, but it apparently works, so I guess I'll just take this as a learning experience. I guess my other question should have been "Is this the best way to use cursors with this driver?" I was pretty much directly translating from a C program, but is there a better way to do it, both for binary and regular cursors? ---- Jeff Hoffmann PropertyKey.com
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера