Thread: cast in JDBC update

cast in JDBC update

From
Tony Grant
Date:
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


Re: cast in JDBC update

From
Rene Pijlman
Date:
On 07 Aug 2001 13:39:09 +0200, you wrote:
>I am trying to update a field which contains an array of
>type INT4 via JDBC.

Java source code? UPDATE statement? Table description?

Regards,
René Pijlman