cast in JDBC update

Поиск
Список
Период
Сортировка
От Tony Grant
Тема cast in JDBC update
Дата
Msg-id 997184349.3678.47.camel@tonux
обсуждение исходный текст
Ответы Re: cast in JDBC update
Список pgsql-jdbc
hello,

I am trying to update a field which contains an array of type INT4 via
JDBC.

ERROR:  Attribute 'filmid' is of type '_int4' but expression is of type
'int4'
You will need to rewrite or cast the expression

How do I cast the expression in an JDBC update statement? The code used
is lovingly hand written by UltraDev... =:-D

Cheers

Tony Grant

--
RedHat Linux on Sony Vaio C1XD/S
http://www.animaproductions.com/linux2.html
Macromedia UltraDev with PostgreSQL
http://www.animaproductions.com/ultra.html


В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Barry Lind
Дата:
Сообщение: Re: Retrieving field of type bigint[]
Следующее
От: Bryan Field-Elliot
Дата:
Сообщение: PG Point and Circle data types, and JDBC?