JDBC - setAsciiStream - how to support?

Поиск
Список
Период
Сортировка
От George Henry C. Daswani
Тема JDBC - setAsciiStream - how to support?
Дата
Msg-id 002101c0449f$0f03f3e0$4b00a8c0@funks
обсуждение исходный текст
Список pgsql-interfaces
Hello,
 
    I've taken a look at the JDBC driver (from www.retep.org.uk) - tried the jdbc7.1-1.2.jar
and the jdbc7.0-1.1.jar
 
Both doesn't seem to support the setAsciiStream
jdbc2 PreparedStatement accessor..
 
I tried using setBytes instead under a transaction block (setAutoCommit(false)), ie..
 
ps.setBytes(9,this.description.trim().getBytes())
 
but an error shows up,
 
FastPath call returned ERROR: lo_write: invalid large obj descriptor (0);
 
Any ideas?

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

Предыдущее
От: Manika dey
Дата:
Сообщение: RE: using large objects with jdbc
Следующее
От: Manika dey
Дата:
Сообщение: RE: using large objects with jdbc