Re: setBlob(int, Blob) with large blob

From: Tore Halset <halset(at)pvv(dot)ntnu(dot)no>
To: PostgreSQL JDBC <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: setBlob(int, Blob) with large blob
Date: 2013-09-10 14:27:56
Message-ID: 75F1B14C-41FD-4087-B29C-A3F589486993@pvv.ntnu.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hello.

Thanks to Dave Cramer for mergin in the fix.

Regards,
Tore Halset.

On 9. sep. 2013, at 12:14, Tore Halset <halset(at)pvv(dot)ntnu(dot)no> wrote:

> Hello.
>
> I am using setBlob(int, Blob) with a 3.2GB large blob, but got the following stack trace.
>
> java.lang.IndexOutOfBoundsException
> at java.io.BufferedInputStream.read(BufferedInputStream.java:327)
> at org.postgresql.jdbc2.AbstractJdbc2Statement.setBlob(AbstractJdbc2Statement.java:3073)
>
> This pull-request fixes this problem for me.
> https://github.com/pgjdbc/pgjdbc/pull/83
>
> Regards,
> Tore Halset.
>
>
>
> --
> 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
>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Lachezar Dobrev 2013-09-10 18:00:28 Re: Regression: Problems with Timestamp arguments
Previous Message Devrim GÜNDÜZ 2013-09-10 13:28:22 Re: 9.3 driver