setBlob(int, Blob) with large blob - Mailing list pgsql-jdbc

From Tore Halset
Subject setBlob(int, Blob) with large blob
Date
Msg-id 85FF3D74-E416-43FB-B98F-FFA6FCB01B67@pvv.ntnu.no
Whole thread Raw
Responses Re: setBlob(int, Blob) with large blob  (Tore Halset <halset@pvv.ntnu.no>)
List pgsql-jdbc
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.



pgsql-jdbc by date:

Previous
From: dmp
Date:
Subject: Re: CopyManager API?
Next
From: Lachezar Dobrev
Date:
Subject: Regression: Problems with Timestamp arguments