From: | Dave Cramer <pg(at)fastcrypt(dot)com> |
---|---|
To: | "peter(dot)penzov" <peter(dot)penzov(at)gmail(dot)com> |
Cc: | List <pgsql-jdbc(at)postgresql(dot)org> |
Subject: | Re: Re: org.postgresql.util.PSQLException: ERROR: column "file" is of type oid but expression is of type bytea |
Date: | 2016-05-06 22:58:38 |
Message-ID: | CADK3HHJ=uXdoEk139uTdb54hEst9tL9Cqs7+LB-wuQUxmEzE3A@mail.gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
Peter,
Perhaps this
https://jdbc.postgresql.org/documentation/head/binary-data.html#binary-data-example
can be of assistance
Dave Cramer
davec(at)postgresintl(dot)com
www.postgresintl.com
On 6 May 2016 at 17:07, peter.penzov <peter(dot)penzov(at)gmail(dot)com> wrote:
> possible reason of the problem:
>
> javax.servlet.http.Part
> a Part does not represent an entire file... is just a part...
>
> full code
> http://pastebin.com/guQcSiwG
>
>
>
> --
> View this message in context:
> http://postgresql.nabble.com/org-postgresql-util-PSQLException-ERROR-column-file-is-of-type-oid-but-expression-is-of-type-bytea-tp5902345p5902400.html
> Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.
>
>
> --
> Sent via pgsql-jdbc mailing list (pgsql-jdbc(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-jdbc
>
From | Date | Subject | |
---|---|---|---|
Next Message | peter.penzov | 2016-05-07 17:04:25 | Re: org.postgresql.util.PSQLException: ERROR: column "file" is of type oid but expression is of type bytea |
Previous Message | peter.penzov | 2016-05-06 21:07:01 | Re: org.postgresql.util.PSQLException: ERROR: column "file" is of type oid but expression is of type bytea |