Insertion and Retrieval of BLOB

Поиск
Список
Период
Сортировка
От Som
Тема Insertion and Retrieval of BLOB
Дата
Msg-id 3A6FB093.27AA747@easi.soft.net
обсуждение исходный текст
Список pgsql-sql
Hi Everybody, <br />There are two methods we can insert and retrieve image from db. <br />One is by JDBC way , another
isby Postgres extensions. <p>I have problem with both while implementing. <br />If im trying to retrieve the image
(whichis stored in OID type) by Postgres extensions, <p>Ex: using LargeObjectManager lobj; <br />LargeObject 
lobj.open(OID);<br />Exception    :<b>Fast path protocol error: Z</b><p>If im trying insert image by  JDBC way i.e  by
getBinaryStream()aand setBinaryStreams() methods of PreparedStatement <br />Im getting Exception saying : <br
/>Exception: <b>InputStream parameter is not supported.</b><p>any idea ? <p>-- <br /> Som <br />  <br />  <br />  <br
/> <br />  <br />  <br />  <br />  <br />  <br />  <p>-- <br />  

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

Предыдущее
От: "Brett W. McCoy"
Дата:
Сообщение: Re: Re: Problem with Dates
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Rule not invoked in 7.1