blob load in 7.2.3

Поиск
Список
Период
Сортировка
От jonerf1
Тема blob load in 7.2.3
Дата
Msg-id 3DACEA66.50900@qwest.net
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: "jonerf1"
Дата:
Сообщение: Re: blob load errors
Следующее
От: Curt Sampson
Дата:
Сообщение: Re: [GENERAL] Prepared statement performance...