Re: About Blobs in postgresSQL

From: kishore mukati <kishore_mukati81(at)yahoo(dot)com>
To: lnunez(at)enelserver(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: About Blobs in postgresSQL
Date: 2005-12-21 04:44:12
Message-ID: 20051221044412.91520.qmail@web54406.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi Leonel

at first thanks for help
I try with that link you send to me
but now I am getting a new error
below

this is exception in MyMailTracker.main()java.sql.SQLException: ERROR: column "attachment" is of type bytea but expression is of type integer

and one more thing my postgreSQL version is 7.4 so it must support
setBinaryStream() ;
and
setBytes()
as per the postgreSQL specification
I also tried with
setBytes()
but it didn't work.

thanks
regards
kishore mukati

Leonel Nunez <lnunez(at)enelserver(dot)com> wrote:
kishore mukati wrote:

> Hi
> I am facing a proble when I am trying to store images, filse in
> postgreSQL.by using Bytea datatype field in table
> using setBinaryStream().
> it show me exception
> inputstream is supported.
>
> please send me if anybody have solution of this problem.
>
> thanks
> kishore mukati
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>

No problems here
this is what I used as reference :

http://jdbc.postgresql.org/documentation/80/binary-data.html

Leonel

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Leonel Nunez 2005-12-21 04:59:37 Re: About Blobs in postgresSQL
Previous Message max chin 2005-12-21 02:44:01 Questions about server.