Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ayoe7-0000Es-UN for pgsql-jdbc@arkaria.postgresql.org; Fri, 06 May 2016 22:54:56 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1ayoe6-0003g2-Et for pgsql-jdbc@arkaria.postgresql.org; Fri, 06 May 2016 22:54:54 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1aymxl-00022X-Qp for pgsql-jdbc@postgresql.org; Fri, 06 May 2016 21:07:05 +0000 Received: from mbob.nabble.com ([162.253.133.15]) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aymxi-0003jj-S1 for pgsql-jdbc@postgresql.org; Fri, 06 May 2016 21:07:05 +0000 Received: from msam.nabble.com (unknown [162.253.133.85]) by mbob.nabble.com (Postfix) with ESMTP id E98B426FFB14 for ; Fri, 6 May 2016 13:51:42 -0700 (PDT) Date: Fri, 6 May 2016 14:07:01 -0700 (MST) From: "peter.penzov" To: pgsql-jdbc@postgresql.org Message-ID: <1462568821046-5902400.post@n5.nabble.com> In-Reply-To: <1462562098748-5902345.post@n5.nabble.com> References: <1462562098748-5902345.post@n5.nabble.com> Subject: Re: org.postgresql.util.PSQLException: ERROR: column "file" is of type oid but expression is of type bytea MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -0.3 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org 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