Re: truncated InputStream returned with getAsciiInputStream()

From: Rene Pijlman <rene(at)lab(dot)applinet(dot)nl>
To: Isabelle Therrien <therriei(at)LUB(dot)UMontreal(dot)CA>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: truncated InputStream returned with getAsciiInputStream()
Date: 2001-08-31 17:57:43
Message-ID: 8vjvotkirij1irlk2fg81sjpa2isqbh8vn@4ax.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Thu, 30 Aug 2001 18:24:30 -0400, you wrote:
>So now, to store my data in the database, I use BLOB instead of TEXT.
>It works fine, my data is stored and retreived without any problem with
>method set and getAsciiStream()... until there is a byte with value "-1"
>in my Stream. If the 43rd byte is "-1", the stream has a length of 42.

Can you post a small program that reproduces the problem?

Regards,
René Pijlman <rene(at)lab(dot)applinet(dot)nl>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2001-08-31 18:12:01 Re: Read transactions don't work on 7.0.x db's Disregard my other patch
Previous Message Barry Lind 2001-08-31 17:14:57 Re: Read transactions don't work on 7.0.x db's