Re: Blobs and "No results were returned by the query."

Поиск
Список
Период
Сортировка
От David Wall
Тема Re: Blobs and "No results were returned by the query."
Дата
Msg-id 006f01c258e3$d60b9920$3201a8c0@expertrade.com
обсуждение исходный текст
Ответ на Blobs and "No results were returned by the query."  (Michael Andreasen <michael@dunlops.com>)
Список pgsql-jdbc
It's unfortunate, but the new blob code is pretty buggy.  I think the dev
builds are better, but I can't say for sure since they are not exactly
current (so you'd have to extract from CVS and do your own builds).

I'm not sure, but is it possible your Blob was NULL in that case?  I got a
similar fastpath error when doing a rs.getBlob() and the OID was 0 (NULL),
but while I'm comfortable looking at the JDBC part of the code, I'm unable
to easily tweak the fastpath parts to properly detect NULL.  Of course, in
your sample code, you're not doing an rs.wasNull() to check that you
actually got a blob.

David


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

Предыдущее
От: Daryl Beattie
Дата:
Сообщение: Re: [GENERAL] Selecting Varchar range (through JDBC).
Следующее
От: Barry Lind
Дата:
Сообщение: Re: [HACKERS] problem with new autocommit config parameter