<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hi Everybody,
<br>There are two methods we can insert and retrieve image from db.
<br>One is by JDBC way , another is by Postgres extensions.
<p>I have problem with both while implementing.
<br>If im trying to retrieve the image (which is 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()a
and 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> </html>