Re: Re: org.postgresql.util.PSQLException: ERROR: column"file" is of type oid but expression is of type bytea - Mailing list pgsql-jdbc

From Dave Cramer
Subject Re: Re: org.postgresql.util.PSQLException: ERROR: column"file" is of type oid but expression is of type bytea
Date
Msg-id CADK3HHJ=uXdoEk139uTdb54hEst9tL9Cqs7+LB-wuQUxmEzE3A@mail.gmail.com
Whole thread Raw
In response to Re: org.postgresql.util.PSQLException: ERROR: column "file" is of type oid but expression is of type bytea  ("peter.penzov" <peter.penzov@gmail.com>)
Responses Re: org.postgresql.util.PSQLException: ERROR: column "file" is oftype oid but expression is of type bytea  ("peter.penzov" <peter.penzov@gmail.com>)
List pgsql-jdbc


On 6 May 2016 at 17:07, peter.penzov <peter.penzov@gmail.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@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc

pgsql-jdbc by date:

Previous
From: "peter.penzov"
Date:
Subject: Re: org.postgresql.util.PSQLException: ERROR: column "file" is oftype oid but expression is of type bytea
Next
From: "peter.penzov"
Date:
Subject: Re: org.postgresql.util.PSQLException: ERROR: column "file" is of type oid but expression is of type bytea