what to do to display largeobject (image)

From: "ahmet temiz" <ahmettemiz88(at)gmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: what to do to display largeobject (image)
Date: 2008-12-26 17:53:53
Message-ID: 37ee0090812260953x19508a73v80787b5853a5e193@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

hello

looking at example "Chapter 7. Storing Binary Data", I tried
to get largeobject (an image) from database and display it.

after using this statement
obj.read(buf, 0, obj.size());j
what should I do with this largeobject to display the image.

kind regards

Ahmet Temiz

Browse pgsql-jdbc by date

  From Date Subject
Next Message Eric Davies 2008-12-30 00:39:10 Trying to insert an array using a prepared statement.
Previous Message Dave Cramer 2008-12-23 11:58:40 Re: problem in getting Large Object from pooled PostgreSQL / Tomcat 6