Some queries
От | Som |
---|---|
Тема | Some queries |
Дата | |
Msg-id | 3A6EC228.E57B750E@easi.soft.net обсуждение исходный текст |
Список | pgsql-sql |
<b>Dear sir,</b><b></b><p><b>Q 1)</b><br />While retrieving BLOBs from the database... <br />There is an Exception displaying: with message... <br /><b>Fast path protocol error : z</b><br />Eventhough i am importing like : <br /><b>importpostgresql.fastpath.*;</b><br /><b>import postgresql.largeobject.*;</b><b></b><p>and connecting : <br /> Fastpathfp; <br /> LargeObjectManager lobj; <br /> lobj = ((postgresql.Connection)conn).getLargeObjectAPI();// ...codethat opens a connection ... <br /> fp = ((postgresql.Connection)conn).getFastpathAPI(); //Fastpath object allowingaccess to functions on the postgresql backend. <p>by osing lobj i want to get Image directy into HTML by lobj.open(OID).<p> <br /><b>Q 2)</b><br />Is it posiible to get LargeObjects from database and display in HTML. <br />Ex:I want to display image file dynamically by retrieving database , without <br /> using streams . i.e without creatingfile and storing it to disk. <p>Could you answer these queries ...and reply back ASAP.. <br />If there are any suchmethods pls. send me the code too.. <p>Rgds <br />Som <br /> <br /> <br />
В списке pgsql-sql по дате отправления: