lo_in: error in parsing

Поиск
Список
Период
Сортировка
От Luca Saccarola
Тема lo_in: error in parsing
Дата
Msg-id Pine.LNX.4.21.0301211520240.14172-100000@sysweb.cctv
обсуждение исходный текст
Список pgsql-jdbc
I am using PostgreSQL 7.1, with the jdbc7.1-1.3.jar file. I am trying to
send a Large Object to the database but get an error saying 'lo_in: error
in parsing <dump of binary data is following>'. The offending statement is
'p.setBinaryStream(1, bis, size);' where bis is an instanceof
DataInputStream and p is a PreparedStatement. The exact same code runs
beautifully under Oracle, but throws this exception under PostgreSQL. I
have followed the documentation to the letter so I don't see why it throws
the exception. The field in the table is of type 'lo', which the
documentation uses.

Any tips ?

Regards.
--
Luca Saccarola
Key ID: 0x4A7A51F7 (c/o keyservers)

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

Предыдущее
От: "Andy Kriger"
Дата:
Сообщение: Re: question about rollback and SQLException
Следующее
От: "Renaud Waldura"
Дата:
Сообщение: Requiring Ant 1.5 for build breaks JDK 1.1 compatibility