Problemas with update sentence in postgres from jdbc - Mailing list pgsql-jdbc

From Joksan Nempu Fernandez
Subject Problemas with update sentence in postgres from jdbc
Date
Msg-id d06c90a20804041606m64381805teeda35d1d2864c2b@mail.gmail.com
Whole thread Raw
Responses Re: Problemas with update sentence in postgres from jdbc  (Craig Ringer <craig@postnewspapers.com.au>)
List pgsql-jdbc
Hi:

I try this ...

String sql ="UPDATE crupier "+
                    "SET  c_estado='"+cestado+"' WHERE "+
                    " c_rut='"+crut+"' ";

and send me the next exception Error:

04-04-2008 07:00:03 PM Persistencia.Mesa ActualizarTupla
GRAVE: null
org.postgresql.util.PSQLException: ERROR: el valor de array debe comenzar con «{» o información de dimensión
        at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1548)
        at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1316)
        at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:191)
        at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:452)
        at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:337)

I no t understand what happen in my code and i put the sql sentence in pgadmin3 , i run this update and send me the same error.

Im using postgresql 8.3

THanx in advance.
--
Joksan Nempu Fernandez
Estudiante Ingeniería Civil en Computación e Informática.
Encargado del Laboratorio de Sistemas Distribuidos.

pgsql-jdbc by date:

Previous
From: "Albe Laurenz"
Date:
Subject: Re: CallableStatement and getUpdateCount
Next
From: Craig Ringer
Date:
Subject: Re: Problemas with update sentence in postgres from jdbc