* Uwe Kubosch (donv@crusaders.no) wrote:
> Hi all!
Hi
> I fetch the image back from the database with code similar to this:
>
> String query;
> ResultSet resultSet;
>
> query = "SELECT content FROM tfile WHERE id=4";
> resultSet = null;
>
> try {
> boolean more;
>
> resultSet = executeTheQuery(query);
> more = resultSet.next();
>
> if (more) {
> InputStream is;
>
> is = resultSet.getBinaryStream("content");
> setContent(is);
Why don't you show us the setContent method?
> }
> } catch (SQLException anSQLException) {
> }
Anders
--
Anders Hermansen
YoYo Mobile as