From: | "Rafal Piotrowski (CSCS)" <Rafal(dot)Piotrowski(at)CSCS(dot)CH> |
---|---|
To: | PostgreSQL Interfaces <pgsql-interfaces(at)postgreSQL(dot)org> |
Subject: | LargeObject.write(byte[] buf) method |
Date: | 1999-11-23 11:19:51 |
Message-ID: | 383A7857.FB262E11@CSCS.CH |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
Hi,
Configuration:
- PostgreSQL 6.5.1
- JDBC for JDK 1.2
Problem:
Why if the object is big (in my case 922176 bytes) the write(byte[]
buf) method in LargeObject class fails. But if I use
write(byte[] buf, int off, int len) and write data in junks for example
4096 bytes, everything is OK.
Does anyone have an idea why?
thanks,
RP
--
..............................................................................
: Rafal Piotrowski :
mailto:Rafal(dot)Piotrowski(at)CSCS(dot)CH :
: Research Scientist :
http://www.cscs.ch/~rpiotrow :
: Centro Svizzero di Calcolo Scientifico : Tel.: +41 (0)91 610
8211 :
: Via Cantonale, Galleria 2 : +41 (0)91 610 8315
(direct) :
: CH-6928 Manno, Switzerland : Fax: +41 (0)91 610
8383 :
..............................................................................
From | Date | Subject | |
---|---|---|---|
Next Message | Rudolf ter Haar | 1999-11-23 12:32:28 | Re: A Question about Large Object |
Previous Message | Rafal Piotrowski (CSCS) | 1999-11-23 11:11:52 | problem : InputStream as parameter not supported |