Problemas with update sentence in postgres from jdbc
От | Joksan Nempu Fernandez |
---|---|
Тема | Problemas with update sentence in postgres from jdbc |
Дата | |
Msg-id | d06c90a20804041606m64381805teeda35d1d2864c2b@mail.gmail.com обсуждение исходный текст |
Ответы |
Re: Problemas with update sentence in postgres from jdbc
|
Список | 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.
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 по дате отправления: