cast in JDBC update - Mailing list pgsql-jdbc

From Tony Grant
Subject cast in JDBC update
Date
Msg-id 997184349.3678.47.camel@tonux
Whole thread Raw
Responses Re: cast in JDBC update
List 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 by date:

Previous
From: Barry Lind
Date:
Subject: Re: Retrieving field of type bigint[]
Next
From: Bryan Field-Elliot
Date:
Subject: PG Point and Circle data types, and JDBC?