Insertion and Retrieval of BLOB
Insertion and Retrieval of BLOB
От:
Som <shekhar@easi.soft.net>
Дата:
Hi Everybody,
There are two methods we can insert and retrieve image from db.
One is by JDBC way , another is by Postgres extensions.I have problem with both while implementing.
If im trying to retrieve the image (which is stored in OID type) by Postgres extensions,Ex: using LargeObjectManager lobj;
LargeObject lobj.open(OID);
Exception :Fast path protocol error: ZIf im trying insert image by JDBC way i.e by getBinaryStream()a and setBinaryStreams() methods of PreparedStatement
Im getting Exception saying :
Exception : InputStream parameter is not supported.any idea ?
--
Som
--