Yes, we need a TODO item on the bytea parser. We need to be able to
handle rainny scenarios when data is bad.
Thanks
Leon Do
> -----Original Message-----
> From: Kris Jurka [mailto:books@ejurka.com]
> Sent: Thursday, February 01, 2007 1:32 PM
> To: Do, Leon (Leon)
> Cc: PostgreSQL JDBC
> Subject: Re: [JDBC] Max size for bytea type
>
>
>
> On Mon, 22 Jan 2007, Do, Leon (Leon) wrote:
>
> > Sorry, it is my mistake. It is wrong data type.
> >
>
> Still there is a TODO item here. The driver shouldn't bail
> out with an ArrayIndexOutOfBoundsException. It might be best
> to fail immediately for a getBytes call on something that
> isn't bytea data. It's conceivable that you there is bytea
> escaped data in a text field, but really, what are the odds
> (and use cases) of that?
>
> Kris Jurka
>
>