setBlob(int, Blob) with large blob

Поиск
Список
Период
Сортировка
Искать

setBlob(int, Blob) with large blob

От:
Tore Halset <halset@pvv.ntnu.no>
Дата:
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.


Re: setBlob(int, Blob) with large blob

От:
Tore Halset <halset@pvv.ntnu.no>
Дата:
Hello.

Thanks to Dave Cramer for mergin in the fix.

Regards,
Tore Halset.

On 9. sep. 2013, at 12:14, Tore Halset  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@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-jdbc
> 


FAQ