Re: org.postgresql package

Поиск
Список
Период
Сортировка
От Dave Harkness
Тема Re: org.postgresql package
Дата
Msg-id 5.1.0.14.2.20011003123730.00abf1e8@mail.meconomy.com
обсуждение исходный текст
Ответ на org.postgresql package  ("Swati" <swatisdesai@rediffmail.com>)
Список pgsql-jdbc
At 11:26 PM 10/2/2001, Swati wrote:
>InputStream is = rs.getBinaryStream();
>
>but it gives me compilation error:
>
>cannot resolve symbol
>symbol  : method getBinaryInputStream  ()

You need to specify the column index or name to access as a BinaryStream:

     InputStream is = rs.getBinaryStream(1);

or

     InputStream is = rs.getBinaryStream("data");

The methods are declared in java.sql.ResultSet and are not specific to
Postgres.

Peace,
Dave


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

Предыдущее
От: Rene Pijlman
Дата:
Сообщение: Re: java.lang.OutOfMemory Exception with a large number of inserts
Следующее
От: Dave Harkness
Дата:
Сообщение: Re: java.lang.OutOfMemory Exception with a large number