blob load in 7.2.3 - Mailing list pgsql-jdbc

From jonerf1
Subject blob load in 7.2.3
Date
Msg-id 3DACEA66.50900@qwest.net
Whole thread Raw
List pgsql-jdbc
I changed the connection statement to 5432:/test3?compatability=7.1" and
the
blob load works. I still cant get the bytea example to compile without
an (int) in the file.length; and the sql gives an error  about column
bytea versus loadvalue of integer, as previously noted today.
Both machines now load blobs using 7.1 compatability
The sql error refers to a cast ; how would I cast ?
I tried FileInputStream bytea fis, (2, (bytea)fis, (int)file.length()),
and 2,fis,bytea(file.length())
just banging on it, i dont really understand the sql error message, ie
what need to be cast?
TIA
rfjones


pgsql-jdbc by date:

Previous
From: "jonerf1"
Date:
Subject: Re: blob load errors
Next
From: Curt Sampson
Date:
Subject: Re: [GENERAL] Prepared statement performance...